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

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

[Octave-bug-tracker] [bug #42408] Incorrect results of isequal() with em


From: Rik
Subject: [Octave-bug-tracker] [bug #42408] Incorrect results of isequal() with empty sparse matrices and alphanumerical value comparision.
Date: Fri, 23 May 2014 15:48:33 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:29.0) Gecko/20100101 Firefox/29.0

Update of bug #42408 (project octave):

                  Status:                    None => Confirmed              

    _______________________________________________________

Follow-up Comment #1:

Confirmed.

Since you have access to Matlab, could you try the following?


x = sparse ([])
f_x = find (x)
size (f_x)
x = ones (0,100,2);
f_x = find (x)
size (f_x)


The problem seems to be that Octave returns a [](0x1) matrix from find() when
the input is empty rather than a [](0x0) matrix.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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