octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #50367] Default constructor for objects in arr


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #50367] Default constructor for objects in array
Date: Wed, 1 Mar 2017 19:16:48 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0

Update of bug #50367 (project octave):

                Category:                    None => Interpreter            
                Severity:              3 - Normal => 1 - Wish               
              Item Group:                    None => Matlab Compatibility   
                  Status:                    None => Need Info              

    _______________________________________________________

Follow-up Comment #1:

Minor correction, the Matlab page referenced says

> MATLAB calls the SimpleValue constructor once and copies the returned object
to each element of the array.

So the constructor is called once with an argument of 7, and once with no
arguments.

It would be nice to see a test result in Matlab to confirm how many times the
constructor method is actually called and verify the values in the object
array, since Matlab help pages have been known to be unclear and vague. But
something probably does need fixing here.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?50367>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]