Mercurial > hg > octave-lojdl
changeset 9429:4a8d93bafe9c
nonzeros.m: make new tests work
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 09 Jul 2009 15:48:48 -0400 |
parents | b317debeb828 |
children | bfc7b000a229 |
files | scripts/sparse/nonzeros.m |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/sparse/nonzeros.m +++ b/scripts/sparse/nonzeros.m @@ -34,6 +34,6 @@ endfunction %!assert(nonzeros([1,2;3,0]),[1;3;2]) -%!assert(nonzeros([1,2,3,0]),[1;3;2]) +%!assert(nonzeros([1,2,3,0]),[1;2;3]) %!assert(nonzeros(sparse([1,2;3,0])),[1;3;2]) -%!assert(nonzeros(sparse([1,2,3,0])),[1;3;2]) +%!assert(nonzeros(sparse([1,2,3,0])),[1;2;3])