bugGNU Octave - Bugs: bug #54028, copy of non-handle class instance...


bug #54028: copy of non-handle class instance is not deep

Submitted by:  A.R. Burgers <arb>
Submitted on:  Thu 31 May 2018 09:36:37 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.0 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 08 Jun 2018 06:46:33 AM UTC, comment #1:

This is regression: it works in 4.0.3, but not in 4.4.0

A.R. Burgers <arb>
Thu 31 May 2018 09:36:37 PM UTC, original submission:

Copying a class does not create a copy of an object array property, where as matlab does make a deep copy in this case.

a script use_b.m that attempts a copy of an instance of class b, where a_array is an object array.

output with octave

output with matlab

A.R. Burgers <arb>


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

Attach Files:

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 arb (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