changeset 23552:654661539e20

* max.cc: Fix typo in test.
author John W. Eaton <jwe@octave.org>
date Wed, 07 Jun 2017 02:08:22 -0400
parents 500505e9279a
children 14723784b9f2
files libinterp/corefcn/interpreter.cc libinterp/corefcn/max.cc
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/corefcn/interpreter.cc	Fri Jun 02 01:57:18 2017 -0400
+++ b/libinterp/corefcn/interpreter.cc	Wed Jun 07 02:08:22 2017 -0400
@@ -1112,6 +1112,8 @@
 
     OCTAVE_SAFE_CALL (symbol_table::cleanup, ());
 
+    symbol_table::cleanup_instance ();
+
     OCTAVE_SAFE_CALL (sysdep_cleanup, ());
 
     OCTAVE_SAFE_CALL (octave_finalize_hdf5, ());
--- a/libinterp/corefcn/max.cc	Fri Jun 02 01:57:18 2017 -0400
+++ b/libinterp/corefcn/max.cc	Wed Jun 07 02:08:22 2017 -0400
@@ -867,7 +867,7 @@
 ## Test for bug #40743
 %!assert <40743> (max (zeros (1,0), ones (1,1)), zeros (1,0))
 %!assert <40743> (max (sparse (zeros (1,0)), sparse (ones (1,1))),
-                  sparse (zeros (1,0)))
+%!                sparse (zeros (1,0)))
 
 %!error max ()
 %!error max (1, 2, 3, 4)