Mercurial > octave
comparison libinterp/corefcn/pinv.cc @ 20941:a4f5da7c5463
maint: Replace "octave_value_list ()" with "ovl ()".
* debug.cc, det.cc, ellipj.cc, error.cc, file-io.cc, graphics.cc, hess.cc,
input.cc, inv.cc, load-path.cc, lu.cc, octave-link.cc, pager.cc, pinv.cc,
pr-output.cc, profiler.cc, schur.cc, symtab.cc, sysdep.cc, urlwrite.cc,
variables.cc, __magick_read__.cc, audioread.cc, chol.cc, ov-classdef.h,
ov-cs-list.cc, ov-flt-re-mat.cc, ov-re-mat.cc, ov-usr-fcn.cc:
maint: Replace "octave_value_list ()" with "ovl ()".
author | Rik <rik@octave.org> |
---|---|
date | Fri, 18 Dec 2015 16:18:41 -0800 |
parents | 48b2ad5ee801 |
children | e39e05d90788 |
comparison
equal
deleted
inserted
replaced
20940:48b2ad5ee801 | 20941:a4f5da7c5463 |
---|---|
62 octave_value arg = args(0); | 62 octave_value arg = args(0); |
63 | 63 |
64 int arg_is_empty = empty_arg ("pinv", arg.rows (), arg.columns ()); | 64 int arg_is_empty = empty_arg ("pinv", arg.rows (), arg.columns ()); |
65 | 65 |
66 if (arg_is_empty < 0) | 66 if (arg_is_empty < 0) |
67 return octave_value_list (); | 67 return ovl (); |
68 else if (arg_is_empty > 0) | 68 else if (arg_is_empty > 0) |
69 return octave_value (Matrix ()); | 69 return octave_value (Matrix ()); |
70 | 70 |
71 octave_value retval; | 71 octave_value retval; |
72 | 72 |