[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #40089] bsxfun fails with logical operation on
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #40089] bsxfun fails with logical operation on sparse matrices |
Date: |
Thu, 26 Sep 2013 17:09:57 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:24.0) Gecko/20100101 Firefox/24.0 |
Update of bug #40089 (project octave):
Severity: 3 - Normal => 2 - Minor
Status: None => Confirmed
_______________________________________________________
Follow-up Comment #1:
Confirmed. As a workaround, if you convert both inputs to logical type, then
bsxfun works.
bsxfun (@and,logical (cliques), logical (v))
This isn't that bad because cliques will still stay as a sparse bool matrix.
v is small enough that there probably isn't much point in converting it to a
sparse matrix but you could also do "sparse (logical (v))" and bsxfun will
still work.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?40089>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/