Mercurial > hg > octave-avbm
changeset 9643:85dd3a2c9355
avoid returning undefined values from disp & fdisp
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Tue, 15 Sep 2009 10:00:53 +0200 |
parents | 2ab5ace09d8b |
children | 080e11f1b0c1 |
files | src/ChangeLog src/pr-output.cc |
diffstat | 2 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2009-09-15 Jaroslav Hajek <highegg@gmail.com> + + * pr-output.cc (Fdisp, Ffdisp): Declare retval as octave_value_list. + 2009-09-14 Shai Ayal <shaiay@users.sourceforge.net> * DLD-FUNCTIONS/fltk_backend.cc (plot_window::pixel2status,
--- a/src/pr-output.cc +++ b/src/pr-output.cc @@ -3283,7 +3283,7 @@ @seealso{fdisp}\n\ @end deftypefn") { - octave_value retval; + octave_value_list retval; int nargin = args.length (); @@ -3324,7 +3324,7 @@ @seealso{disp}\n\ @end deftypefn") { - octave_value retval; + octave_value_list retval; int nargin = args.length ();