Mercurial > hg > octave-max
changeset 2421:d64502c62840
[project @ 1996-10-18 18:45:26 by jwe]
author | jwe |
---|---|
date | Fri, 18 Oct 1996 18:45:40 +0000 |
parents | 449f35baba49 |
children | 327f65b8ea0c |
files | ChangeLog configure.in src/ChangeLog src/ov.h |
diffstat | 4 files changed, 17 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Fri Oct 18 12:23:57 1996 John W. Eaton <jwe@bevo.che.wisc.edu> + + * configure.in: Don't comment out substitutions for plplot stuff. + Wed Oct 16 12:01:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> * examples/Makefile.in (install): New target.
--- a/configure.in +++ b/configure.in @@ -20,7 +20,7 @@ ### along with Octave; see the file COPYING. If not, write to the Free ### Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -AC_REVISION($Revision: 1.218 $) +AC_REVISION($Revision: 1.219 $) AC_PREREQ(2.9) AC_INIT(src/octave.cc) AC_CONFIG_HEADER(config.h) @@ -167,8 +167,8 @@ dnl if $USE_PLPLOT; then dnl AC_DEFINE(USE_PLPLOT, 1) dnl fi -dnl AC_SUBST(LIBPLPLOT) -dnl AC_SUBST(PLPLOT_DIR) +AC_SUBST(LIBPLPLOT) +AC_SUBST(PLPLOT_DIR) ### Allow the user disable support for command line editing using GNU ### readline.
--- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +Fri Oct 18 13:44:33 1996 John W. Eaton <jwe@bevo.che.wisc.edu> + + * ov.h (octave_value::index): Call maybe_mutate() on retval before + returning it. + Wed Oct 16 12:00:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu> * ov.h (octave_value::struct_elt_val): New optional arg, silent.
--- a/src/ov.h +++ b/src/ov.h @@ -182,7 +182,11 @@ { return rep->try_narrowing_conversion (); } virtual octave_value index (const octave_value_list& idx) const - { return rep->index (idx); } + { + octave_value retval = rep->index (idx); + retval.maybe_mutate (); + return retval; + } octave_value& assign (const octave_value_list& idx, const octave_value& rhs);