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

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

[Octave-bug-tracker] [bug #50202] automatic padding: a(3)=4


From: Colin Macdonald
Subject: [Octave-bug-tracker] [bug #50202] automatic padding: a(3)=4
Date: Mon, 6 Feb 2017 14:58:32 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0

Follow-up Comment #14, bug #50202 (project octave):

> but I assume a 'default object' is defined when one is created

Yes, "Ideally, even when the constructor is called with no arguments it should
return a valid object."
[https://www.gnu.org/software/octave/doc/interpreter/Creating-a-Class.html]
(I seem to remember this is also needed to support save/load).

If the class overrides "subsasn" then it may need to deal with this padding
issue by itself.  I've just [patched Symbolic to do
so](https://github.com/cbm755/octsympy/pull/760).

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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