Mercurial > octave
diff libinterp/corefcn/matrix_type.cc @ 28915:c40a367a84c0
maint: Use Octave convention of space after function name in libinterp/.
* besselj.cc, cellfun.cc, chol.cc, conv2.cc, data.cc, eig.cc, ellipj.cc,
graphics.cc, gsvd.cc, kron.cc, lu.cc, mappers.cc, matrix_type.cc, oct-map.cc,
psi.cc, strfns.cc, audiodevinfo.cc, gzip.cc:
Use Octave convention of space after function name in m-file code (BIST tests).
author | Rik <rik@octave.org> |
---|---|
date | Tue, 13 Oct 2020 19:49:11 -0700 |
parents | bd51beb6205e |
children | 7854d5752dd2 |
line wrap: on
line diff
--- a/libinterp/corefcn/matrix_type.cc Tue Oct 13 19:02:32 2020 -0700 +++ b/libinterp/corefcn/matrix_type.cc Tue Oct 13 19:49:11 2020 -0700 @@ -540,10 +540,10 @@ %! a = matrix_type (spdiags (randn (10,3),[-1,0,1],10,10), "Singular"); %! assert (matrix_type (a), "Singular"); -%!assert (matrix_type (triu (ones(10,10))), "Upper") -%!assert (matrix_type (triu (ones(10,10),-1)), "Full") -%!assert (matrix_type (tril (ones(10,10))), "Lower") -%!assert (matrix_type (tril (ones(10,10),1)), "Full") +%!assert (matrix_type (triu (ones (10,10))), "Upper") +%!assert (matrix_type (triu (ones (10,10),-1)), "Full") +%!assert (matrix_type (tril (ones (10,10))), "Lower") +%!assert (matrix_type (tril (ones (10,10),1)), "Full") %!assert (matrix_type (10*eye (10,10) + ones (10,10)), "Positive Definite") %!assert (matrix_type (ones (11,10)), "Rectangular") %!test