Mercurial > hg > octave-nkf
diff libinterp/corefcn/data.cc @ 18111:b560bac0fca2
maint: Don't use space between 'args' and '(' when doing indexing.
* libinterp/corefcn/__contourc__.cc, libinterp/corefcn/__pchip_deriv__.cc,
libinterp/corefcn/besselj.cc, libinterp/corefcn/bsxfun.cc,
libinterp/corefcn/cellfun.cc, libinterp/corefcn/data.cc,
libinterp/corefcn/dlmread.cc, libinterp/corefcn/file-io.cc,
libinterp/corefcn/graphics.cc, libinterp/corefcn/help.cc,
libinterp/corefcn/lu.cc, libinterp/corefcn/matrix_type.cc,
libinterp/corefcn/pr-output.cc, libinterp/corefcn/sparse.cc,
libinterp/corefcn/strfns.cc, libinterp/corefcn/syscalls.cc,
libinterp/corefcn/tril.cc:
maint: Don't use space between 'args' and '(' when indexing.
author | Rik <rik@octave.org> |
---|---|
date | Thu, 05 Dec 2013 16:11:14 -0800 |
parents | 6a71e5030df5 |
children | a86d608c413c |
line wrap: on
line diff
--- a/libinterp/corefcn/data.cc +++ b/libinterp/corefcn/data.cc @@ -1837,7 +1837,7 @@ // and then directly resize. However, for some types there might // be some additional setup needed, and so this should be avoided. - octave_value tmp = args (0); + octave_value tmp = args(0); tmp = tmp.resize (dim_vector (0,0)).resize (dv); if (error_state) @@ -1851,12 +1851,12 @@ // Can't fast return here to skip empty matrices as something // like cat (1,[],single ([])) must return an empty matrix of // the right type. - tmp = do_cat_op (tmp, args (j), ra_idx); + tmp = do_cat_op (tmp, args(j), ra_idx); if (error_state) return retval; - dim_vector dv_tmp = args (j).dims (); + dim_vector dv_tmp = args(j).dims (); if (dim >= dv_len) {