comparison libinterp/corefcn/qr.cc @ 31603:23520a50d74d stable

maint: Review C++ files for style and coding conventions. * __ftp__.cc (F__ftp_cwd__, F__ftp_mget__), __isprimelarge__.cc (F__isprimelarge__, F__pollardrho__), debug.cc (Fdbclear), file-io.cc (Ftempdir): Don't bother to define nargin if it is used only once in function. Instead, just call args.length () for the one instance. * data.cc (fill_matrix): Eliminate useless break statement after error() which throws exception. * qr.cc (Fqr), __ode15__.cc (IDA::integrate, IDA::event, IDA::interpolate, IDA::outputfun): Use true or false rather than 0 or 1 when assigning to bool variables. maint: Review C++ files for style and coding conventions.
author Rik <rik@octave.org>
date Wed, 30 Nov 2022 20:27:16 -0800
parents ad8a4102f910
children e88a07dec498
comparison
equal deleted inserted replaced
31601:132547cc1ab2 31603:23520a50d74d
319 319
320 octave_value arg = args(0); 320 octave_value arg = args(0);
321 321
322 bool economy = false; 322 bool economy = false;
323 bool is_cmplx = false; 323 bool is_cmplx = false;
324 bool have_b = 0; 324 bool have_b = false;
325 bool vector_p = 0; 325 bool vector_p = false;
326 326
327 if (arg.iscomplex ()) 327 if (arg.iscomplex ())
328 is_cmplx = true; 328 is_cmplx = true;
329 if (nargin > 1) 329 if (nargin > 1)
330 { 330 {