bugGNU Octave - Bugs: bug #51682, No error issued for left division...


bug #51682: No error issued for left division of scalar_double_type \ integer_matrix_type, also wrong answer

Submitted by:  Rik <rik5>
Submitted on:  Mon 07 Aug 2017 03:26:37 PM UTC  
Category: InterpreterSeverity: 4 - Important
Priority: 5 - NormalItem Group: Incorrect Result
Status: ConfirmedAssigned to: None
Originator Name: Open/Closed: Open
Release: devOperating System: Any

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Tue 08 Aug 2017 04:29:51 PM UTC, comment #2:

So for compatibility, Octave could support scalar_double \ scalar_int, scalar_float \ scalar_int, scalar_double \ int_matrix, scalar_float \ int_matrix if someone finds the time.

Rik <rik5>
Project Administrator
Tue 08 Aug 2017 12:39:33 PM UTC, comment #1:

For reference, in Matlab 2016b

Mon 07 Aug 2017 03:26:37 PM UTC, original submission:

Left division incorrectly returns a scalar type, rather than a matrix type, for scalar_double \ integer_matrix.

Example code:

Since left-division isn't implemented for integer data types (see bug #51650) this case should also just throw an error about an unimplemented operator rather than calculating a value which is misleading.

Rik <rik5>
Project Administrator


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


   bug dependencies.

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by rik5 (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 07 Aug 2017 03:27:05 PM UTCrik5Dependencies-=>Depends on bugs #51650

    Back to the top

    Powered by Savane 3.1-cleanup1