Mercurial > hg > octave-lyh
diff libinterp/corefcn/bsxfun.cc @ 17253:7babcdb9bc13
Use ... instead of \ for line continuation marker.
* plotimages.m, bsxfun.cc, cellfun.cc, __unimplemented__.m,
importdata.m, textscan.m, edit.m, fsolve.m, sqp.m,
__gnuplot_drawnow__.m, __marching_cube__.m, stemleaf.m, polyfit.m,
z_test.m, z_test_2.m, test.m:
Use ... instead of \ for line continuation marker.
author | Stefan Mahr <dac922@gmx.de> |
---|---|
date | Mon, 12 Aug 2013 17:36:54 +0200 |
parents | 2fc554ffbc28 |
children |
line wrap: on
line diff
--- a/libinterp/corefcn/bsxfun.cc +++ b/libinterp/corefcn/bsxfun.cc @@ -773,12 +773,12 @@ %% Test automatic bsxfun % %!test -%! funs = {@plus, @minus, @times, @rdivide, @ldivide, @power, @max, @min, \ -%! @rem, @mod, @atan2, @hypot, @eq, @ne, @lt, @le, @gt, @ge, \ +%! funs = {@plus, @minus, @times, @rdivide, @ldivide, @power, @max, @min, ... +%! @rem, @mod, @atan2, @hypot, @eq, @ne, @lt, @le, @gt, @ge, ... %! @and, @or, @xor }; %! %! float_types = {@single, @double}; -%! int_types = {@int8, @int16, @int32, @int64, \ +%! int_types = {@int8, @int16, @int32, @int64, ... %! @uint8, @uint16, @uint32, @uint64}; %! %! x = rand (3) * 10-5; @@ -792,19 +792,19 @@ %! f_type = float_types{j}; %! i_type = int_types{k}; %! -%! assert (bsxfun (fun, f_type (x), i_type (y)), \ +%! assert (bsxfun (fun, f_type (x), i_type (y)), ... %! fun (f_type(x), i_type (y))); -%! assert (bsxfun (fun, f_type (y), i_type (x)), \ +%! assert (bsxfun (fun, f_type (y), i_type (x)), ... %! fun (f_type(y), i_type (x))); %! -%! assert (bsxfun (fun, i_type (x), i_type (y)), \ +%! assert (bsxfun (fun, i_type (x), i_type (y)), ... %! fun (i_type (x), i_type (y))); -%! assert (bsxfun (fun, i_type (y), i_type (x)), \ +%! assert (bsxfun (fun, i_type (y), i_type (x)), ... %! fun (i_type (y), i_type (x))); %! -%! assert (bsxfun (fun, f_type (x), f_type (y)), \ +%! assert (bsxfun (fun, f_type (x), f_type (y)), ... %! fun (f_type (x), f_type (y))); -%! assert (bsxfun (fun, f_type(y), f_type(x)), \ +%! assert (bsxfun (fun, f_type(y), f_type(x)), ... %! fun (f_type (y), f_type (x))); %! endfor %! endfor