[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #53179] Wrong result with bsxfun (single compl
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #53179] Wrong result with bsxfun (single complex argument) |
Date: |
Sun, 18 Feb 2018 01:21:45 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0 |
Update of bug #53179 (project octave):
Status: None => Confirmed
_______________________________________________________
Follow-up Comment #1:
Confirmed. And it is only bsxfun. The interprter, with broadcasting, gets it
right.
im .* mask
ans =
ans(:,:,1) =
0 + 0i 0 + 0i 1 + 1i 1 + 1i
0 + 0i 0 + 0i 1 + 1i 1 + 1i
0 + 0i 0 + 0i 1 + 1i 1 + 1i
0 + 0i 0 + 0i 1 + 1i 1 + 1i
ans(:,:,2) =
0 + 0i 0 + 0i 1 + 1i 1 + 1i
0 + 0i 0 + 0i 1 + 1i 1 + 1i
0 + 0i 0 + 0i 1 + 1i 1 + 1i
0 + 0i 0 + 0i 1 + 1i 1 + 1i
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?53179>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/