Mercurial > octave
diff libinterp/corefcn/cellfun.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 | 52744f8127d7 |
children | ba5a0edff85e |
line wrap: on
line diff
--- a/libinterp/corefcn/cellfun.cc Tue Oct 13 19:02:32 2020 -0700 +++ b/libinterp/corefcn/cellfun.cc Tue Oct 13 19:49:11 2020 -0700 @@ -1551,14 +1551,14 @@ %! A = arrayfun (@(x,y) x.a:y.a, a, b, "UniformOutput", false); %! assert (isequal (A, {[1.1, 2.1, 3.1]})); %!test -%! A = arrayfun (@(x) mat2str(x), "a", "ErrorHandler", @__arrayfunerror); +%! A = arrayfun (@(x) mat2str (x), "a", "ErrorHandler", @__arrayfunerror); %! assert (isfield (A, "identifier"), true); %! assert (isfield (A, "message"), true); %! assert (isfield (A, "index"), true); %! assert (isempty (A.message), false); %! assert (A.index, 1); %!test # Overwriting setting of "UniformOutput" true -%! A = arrayfun (@(x) mat2str(x), "a", "UniformOutput", true, ... +%! A = arrayfun (@(x) mat2str (x), "a", "UniformOutput", true, ... %! "ErrorHandler", @__arrayfunerror); %! assert (isfield (A, "identifier"), true); %! assert (isfield (A, "message"), true);