diff src/ov-intx.h @ 8389:ff5892c8ddd0

fix integer assignment to non-existing variables
author Jaroslav Hajek <highegg@gmail.com>
date Wed, 10 Dec 2008 11:04:28 +0100
parents 69b6127f6962
children f00578b495e9
line wrap: on
line diff
--- a/src/ov-intx.h
+++ b/src/ov-intx.h
@@ -402,7 +402,7 @@
     { return new OCTAVE_VALUE_INT_SCALAR_T (*this); }
 
   octave_base_value *empty_clone (void) const
-    { return new OCTAVE_VALUE_INT_SCALAR_T (); }
+    { return new OCTAVE_VALUE_INT_MATRIX_T (); }
 
   octave_value do_index_op (const octave_value_list& idx,
 			    bool resize_ok = false)