Mercurial > hg > octave-lojdl
changeset 4590:2cb70e155939
[project @ 2003-11-10 19:09:57 by jwe]
author | jwe |
---|---|
date | Mon, 10 Nov 2003 19:09:58 +0000 |
parents | 8dea9db3af09 |
children | 2c9de1be042a |
files | src/ChangeLog src/TEMPLATE-INST/Array-tc.cc |
diffstat | 2 files changed, 6 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,8 @@ 2003-11-10 John W. Eaton <jwe@bevo.che.wisc.edu> + * TEMPLATE-INST/Array-tc.cc (resize_fill_value): Use modern + specialization syntax. + * ov-cell.cc (octave_cell::print_raw): Use dim_vector::str. * Cell.cc, Cell.h, debug.cc, file-io.cc, load-save.cc,
--- a/src/TEMPLATE-INST/Array-tc.cc +++ b/src/TEMPLATE-INST/Array-tc.cc @@ -27,8 +27,6 @@ #endif #include "Array.h" - - #include "Array.cc" #include "Array2.h" @@ -41,8 +39,9 @@ #include "oct-obj.h" -octave_value -resize_fill_value (const octave_value& x) +template<> +octave_value +resize_fill_value<octave_value> (const octave_value& x) { static octave_value retval = octave_value (Matrix ()); return retval;