[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #45219] Incorrect behavior with broadcasting a
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #45219] Incorrect behavior with broadcasting and mixed real/complex matrices |
Date: |
Mon, 29 Feb 2016 02:36:23 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 |
Update of bug #45219 (project octave):
Status: None => In Progress
Release: 4.0.0 => dev
_______________________________________________________
Follow-up Comment #9:
I applied the first of Lachlan's patches here
http://hg.savannah.gnu.org/hgweb/octave/rev/a1aa52bff079. This fixes the
error originally seen with bsxfun. There is still a problem with the operator
'+' when it needs to do automatic broadcasting.
t1 = randn(6,3)+1j*randn(6,3);
t2 = randn(6,1);
s1 = sparse(t1);
s2 = sparse(t2);
bsxfun (@plus, s1, s2) # This works NOW
s1 + s2
error: operator +: nonconformant arguments (op1 is 6x3, op2 is 6x1)
The second patch from Lachlan no longer applies cleanly. I can look at it
again when it is refreshed to current tip.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?45219>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/