Mercurial > octave
diff libinterp/corefcn/conv2.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 | 06c8e0877864 |
children | 7854d5752dd2 |
line wrap: on
line diff
--- a/libinterp/corefcn/conv2.cc Tue Oct 13 19:02:32 2020 -0700 +++ b/libinterp/corefcn/conv2.cc Tue Oct 13 19:49:11 2020 -0700 @@ -550,18 +550,18 @@ %! 925 1976 2363 1971 1636 1600 1844 2239 1664 626 %! 372 1133 1558 1687 1570 1401 1243 1122 883 264 %! 60 270 556 857 1024 870 569 282 66 0]; -%!assert (convn(a, b, "full"), c) -%!assert (convn(a, b, "same"), c(3:6,2:9,2:5,:)) -%!assert (convn(a, b, "valid"), c(4,3:8,3:4,:)) +%!assert (convn (a, b, "full"), c) +%!assert (convn (a, b, "same"), c(3:6,2:9,2:5,:)) +%!assert (convn (a, b, "valid"), c(4,3:8,3:4,:)) ## test correct class -%!assert (class (convn (rand(5), rand(3))), "double") -%!assert (class (convn (rand(5, "single"), rand(3))), "single") -%!assert (class (convn (rand(5), rand(3, "single"))), "single") -%!assert (class (convn (true (5), rand(3))), "double") -%!assert (class (convn (true (5), rand(3, "single"))), "single") -%!assert (class (convn (ones(5, "uint8"), rand(3))), "double") -%!assert (class (convn (rand (3, "single"), ones(5, "uint8"))), "single") +%!assert (class (convn (rand (5), rand (3))), "double") +%!assert (class (convn (rand (5, "single"), rand (3))), "single") +%!assert (class (convn (rand (5), rand (3, "single"))), "single") +%!assert (class (convn (true (5), rand (3))), "double") +%!assert (class (convn (true (5), rand (3, "single"))), "single") +%!assert (class (convn (ones (5, "uint8"), rand (3))), "double") +%!assert (class (convn (rand (3, "single"), ones (5, "uint8"))), "single") %!error convn () %!error convn (1)