bugGNU Octave - Bugs: bug #54966, Error when assigning array to an...

 
 

bug #54966: Error when assigning array to an object implementing subsasgn() subscripted using "{}"

Submitted by:  Martynas <mpata>
Submitted on:  Mon 05 Nov 2018 09:55:15 PM UTC  
 
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Matlab Compatibility
Status:  None Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  4.4.1 Operating System:  Microsoft Windows

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Mon 05 Nov 2018 09:55:15 PM UTC, original submission:

GNU Octave seems to give an error message when assigning an array with several elements to an object implementing subsasgn() method subscripted using curled braces.

Let's say we have a class (implementing the same assignment for "()" and "{}"):

And run a script trying out different assignments:

In GNU Octave the last assignment (but none of the previous ones) results in error message (path removed):

In Matlab assignments do not fail:

Martynas <mpata>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mpata (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.

     

     

     

    No changes have been made to this item

    Back to the top


    Powered by Savane 3.3