Mercurial > octave-nkf
comparison libinterp/corefcn/tril.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 | 9e3c35d934ab |
comparison
equal
deleted
inserted
replaced
18109:2217bc116aa9 | 18111:b560bac0fca2 |
---|---|
211 | 211 |
212 if (nargin < 1 || nargin > 2) | 212 if (nargin < 1 || nargin > 2) |
213 print_usage (); | 213 print_usage (); |
214 else | 214 else |
215 { | 215 { |
216 octave_value arg = args (0); | 216 octave_value arg = args(0); |
217 | 217 |
218 dim_vector dims = arg.dims (); | 218 dim_vector dims = arg.dims (); |
219 if (dims.length () != 2) | 219 if (dims.length () != 2) |
220 error ("%s: need a 2-D matrix", name.c_str ()); | 220 error ("%s: need a 2-D matrix", name.c_str ()); |
221 else if (k < -dims (0) || k > dims(1)) | 221 else if (k < -dims (0) || k > dims(1)) |