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

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

[Octave-bug-tracker] [bug #43925] isscalar behaves incorrectly for some


From: Julien Bect
Subject: [Octave-bug-tracker] [bug #43925] isscalar behaves incorrectly for some user-defined classes
Date: Fri, 12 Feb 2016 10:22:45 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:39.0) Gecko/20100101 Firefox/39.0

Follow-up Comment #16, bug #43925 (project octave):

By the way, I understand now why tests such as (sz(0) >= 0) are useful.  The
reason is that octave_class doesn't fully check that the result of size, when
it is overloaded, is a valid size vector.  So, sz(0) could be negative, Nan or
infinite...

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message posté via/par Savannah
  http://savannah.gnu.org/




reply via email to

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