Mercurial > octave-nkf
changeset 19227:8661727db27a
xor.m: Fix failing BIST test.
* xor.m: Fix failing BIST test.
author | Rik <rik@octave.org> |
---|---|
date | Tue, 30 Sep 2014 11:45:48 -0700 |
parents | 8a8a7bc2a09d |
children | 5b64aee2257b |
files | scripts/miscellaneous/xor.m |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/miscellaneous/xor.m Tue Sep 30 11:37:57 2014 -0700 +++ b/scripts/miscellaneous/xor.m Tue Sep 30 11:45:48 2014 -0700 @@ -92,7 +92,7 @@ %!assert (xor (speye (2), fliplr (speye (2))), sparse (logical (ones (2)))) ## Test XOR reduction -%!assert (xor ([1 0], [1 1], [0 0]), [0 1]) +%!assert (xor ([1 0], [1 1], [0 0]), logical ([0 1])) %% Test input validation %!error xor ()