Mercurial > hg > octave-nkf
comparison libinterp/corefcn/graphics.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 | ca84d3c9dc24 |
comparison
equal
deleted
inserted
replaced
18109:2217bc116aa9 | 18111:b560bac0fca2 |
---|---|
9392 | 9392 |
9393 if (args.length () == 1) | 9393 if (args.length () == 1) |
9394 { | 9394 { |
9395 graphics_handle h = octave_NaN; | 9395 graphics_handle h = octave_NaN; |
9396 | 9396 |
9397 const NDArray vals = args (0).array_value (); | 9397 const NDArray vals = args(0).array_value (); |
9398 | 9398 |
9399 if (! error_state) | 9399 if (! error_state) |
9400 { | 9400 { |
9401 // Check is all the handles to delete are valid first | 9401 // Check is all the handles to delete are valid first |
9402 // as callbacks might delete one of the handles we | 9402 // as callbacks might delete one of the handles we |
10189 } | 10189 } |
10190 | 10190 |
10191 static bool | 10191 static bool |
10192 compare_property_values (const octave_value& o1, const octave_value& o2) | 10192 compare_property_values (const octave_value& o1, const octave_value& o2) |
10193 { | 10193 { |
10194 octave_value_list args (2); | 10194 octave_value_list args(2); |
10195 | 10195 |
10196 args(0) = o1; | 10196 args(0) = o1; |
10197 args(1) = o2; | 10197 args(1) = o2; |
10198 | 10198 |
10199 octave_value_list result = feval ("isequal", args, 1); | 10199 octave_value_list result = feval ("isequal", args, 1); |