Mercurial > octave
diff libinterp/corefcn/cellfun.cc @ 27956:2310164737b3 stable
fix many spelling errors (bug #57613)
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 17 Jan 2020 13:15:27 -0600 |
parents | 589b00536a39 |
children | c20b7290c778 |
line wrap: on
line diff
--- a/libinterp/corefcn/cellfun.cc Fri Oct 18 17:24:37 2019 -0700 +++ b/libinterp/corefcn/cellfun.cc Fri Jan 17 13:15:27 2020 -0600 @@ -793,7 +793,7 @@ %! y = true; %! A = cellfun (@(x) islogical (x) && y, {false, 0.3}); %! assert (A, [true, false]); -%!test # Three ouptut arguments of different type +%!test # Three output arguments of different type %! [A, B, C] = cellfun (@find, {10, 11; 0, 12}, "UniformOutput", false); %! assert (isequal (A, {true, true; [], true})); %! assert (isequal (B, {true, true; [], true})); @@ -810,7 +810,7 @@ %!test %! A = cellfun (@(x) x, {false, true; false, true}, "UniformOutput", false); %! assert (A, {false, true; false, true}); -%!test # Three ouptut arguments of same type +%!test # Three output arguments of same type %! [A, B, C] = cellfun (@find, {true, false; false, true}, ... %! "UniformOutput", false); %! assert (isequal (A, {true, []; [], true})); @@ -845,7 +845,7 @@ %! A = cellfun (@(x,y) x:y, {1.1, 4}, {3.1, 6}, "UniformOutput", false); %! assert (isequal (A{1}, [1.1, 2.1, 3.1])); %! assert (isequal (A{2}, [4, 5, 6])); -%!test # Three ouptut arguments of different type +%!test # Three output arguments of different type %! [A, B, C] = cellfun (@find, {10, 11; 0, 12}, "UniformOutput", false); %! assert (isequal (A, {true, true; [], true})); %! assert (isequal (B, {true, true; [], true})); @@ -1476,7 +1476,7 @@ %! y = true; %! A = arrayfun (@(x) islogical (x && y), false); %! assert (A, true); -%!test # Three ouptut arguments of different type +%!test # Three output arguments of different type %! [A, B, C] = arrayfun (@find, [10, 11; 0, 12], "UniformOutput", false); %! assert (isequal (A, {true, true; [], true})); %! assert (isequal (B, {true, true; [], true})); @@ -1492,7 +1492,7 @@ %!test %! A = arrayfun (@(x) x, [false, true, false, true], "UniformOutput", false); %! assert (A, {false, true, false, true}); -%!test # Three ouptut arguments of same type +%!test # Three output arguments of same type %! [A, B, C] = arrayfun (@find, [true, false; false, true], "UniformOutput", false); %! assert (isequal (A, {true, []; [], true})); %! assert (isequal (B, {true, []; [], true})); @@ -1525,7 +1525,7 @@ %! A = arrayfun (@(x,y) x:y, [1.1, 4], [3.1, 6], "UniformOutput", false); %! assert (isequal (A{1}, [1.1, 2.1, 3.1])); %! assert (isequal (A{2}, [4, 5, 6])); -%!test # Three ouptut arguments of different type +%!test # Three output arguments of different type %! [A, B, C] = arrayfun (@find, [10, 11; 0, 12], "UniformOutput", false); %! assert (isequal (A, {true, true; [], true})); %! assert (isequal (B, {true, true; [], true}));