[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #37321] isequal doesn't work for sparse matrci
From: |
John W. Eaton |
Subject: |
[Octave-bug-tracker] [bug #37321] isequal doesn't work for sparse matrcies |
Date: |
Tue, 11 Sep 2012 06:10:10 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:10.0.6) Gecko/20100101 Firefox/10.0.6 Iceweasel/10.0.6 |
Follow-up Comment #1, bug #37321 (project octave):
This looks like two bugs in one.
First, for the example you give, __isequal__ is computing
all (sparse (0, 1))
and getting the sparse(1,1) result. But
all (zeros (0, 1))
produces logical(1). So shouldn't the sparse version produce logical (sparse
(1))? Then the second bug is that isequal should be returning a full matrix
in this case instead of sparse.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?37321>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/