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

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

[Octave-bug-tracker] [bug #44498] isvector: Always returns true for obje


From: Lachlan Andrew
Subject: [Octave-bug-tracker] [bug #44498] isvector: Always returns true for objects from user defined classes
Date: Sat, 30 Jan 2016 02:22:32 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0

Follow-up Comment #4, bug #44498 (project octave):

It is easy to replace dims() by size() in Fisvector -- see attached patch.

The wrinkle is that size() is not const, and so a copy has to be made.  That
should be a shallow copy, shouldn't it?  If not, we should probably check that
size has actually been overloaded and use dims() if not.

(file #36204)
    _______________________________________________________

Additional Item Attachment:

File name: bug_44498.cset                 Size:0 KB


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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