bugGNU Octave - Bugs: bug #59637, Error message for '=' and...


bug #59637: Error message for '=' and nonconformant arguments

Submitted by:  Guillaume <gyom>
Submitted on:  Mon 07 Dec 2020 10:46:36 PM UTC  
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Unexpected Error or Warning
Status:  Patch Submitted Assigned to:  None
Originator Name:  Guillaume Open/Closed:  Open
Release:  dev Operating System:  Any

Add a New Comment (Rich Markup)

You are not logged in

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


Fri 11 Dec 2020 06:14:35 PM UTC, comment #1: 

I'm not sure whether it is the best fix, but the attached patch appears to fix the problem for me.

(file #50440)

John W. Eaton <jwe>
Project Administrator
Mon 07 Dec 2020 10:46:36 PM UTC, original submission:  

In the following, I would expect the two error messages to be identical to the first one:

octave:1> A = rand(3,3);
octave:2> B = rand(2,2);
octave:3> A(1:2,1:3) = B;
error: =: nonconformant arguments (op1 is 2x3, op2 is 2x2)
octave:4> A(1:2,1:3,1) = B;
error: =: nonconformant arguments (op1 is 3x3x1, op2 is 2x2)

Guillaume <gyom>


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

Attach Files:

Attached Files
file #50440:  assign-dims-error-diffs.txt added by jwe (912B - text/plain)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by jwe (Updated the item)
  • -email is unavailable- added by gyom (Submitted the item)

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

    Only project members can vote.




    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-12-11 jwe Attached File- => Added assign-dims-error-diffs.txt, #50440
        StatusNone => Patch Submitted

    Back to the top

    Powered by Savane 3.5