changeset 3976:4038f12b8eea

[project @ 2002-07-05 00:03:41 by jwe]
author jwe
date Fri, 05 Jul 2002 00:03:41 +0000
parents 1339486fb498
children 95663a3a2682
files src/ChangeLog src/octave.cc src/pt-mat.cc
diffstat 3 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,8 @@
 2002-07-04  John W. Eaton  <jwe@bevo.che.wisc.edu>
 
+	* pt-mat.cc (Vempty_list_elements_ok): Default value is now 1.
+	* octave.cc (maximum_braindamage): No longer need to set value here.
+
 	* ov-usr-fcn.cc (Fva_arg, Fva_start, Fvr_val): Warn that these
 	functions are deprecated.
 	* lex.l (EL): Warn that `...' is deprecated.
--- a/src/octave.cc
+++ b/src/octave.cc
@@ -345,7 +345,6 @@
   bind_builtin_variable ("default_save_format", "mat-binary");
   bind_builtin_variable ("define_all_return_values", 1.0);
   bind_builtin_variable ("do_fortran_indexing", 1.0);
-  bind_builtin_variable ("empty_list_elements_ok", 1.0);
   bind_builtin_variable ("fixed_point_format", 1.0);
   bind_builtin_variable ("implicit_num_to_str_ok", 1.0);
   bind_builtin_variable ("implicit_str_to_num_ok", 1.0);
--- a/src/pt-mat.cc
+++ b/src/pt-mat.cc
@@ -624,7 +624,7 @@
 void
 symbols_of_pt_mat (void)
 {
-  DEFVAR (empty_list_elements_ok, "warn", empty_list_elements_ok,
+  DEFVAR (empty_list_elements_ok, 1.0, empty_list_elements_ok,
     "-*- texinfo -*-\n\
 @defvr {Built-in Variable} empty_list_elements_ok\n\
 This variable controls whether Octave ignores empty matrices in a matrix\n\
@@ -640,7 +640,7 @@
 @noindent\n\
 and the variable @code{a} will be assigned the value @code{[ 1, 3, 5 ]}.\n\
 \n\
-The default value is @code{\"warn\"}.\n\
+The default value is 1.\n\
 @end defvr");
 
   DEFVAR (implicit_num_to_str_ok, 0.0, implicit_num_to_str_ok,