diff src/ov.cc @ 12171:d08901c05c1b

fix bug in class assignment to undefined object with index
author John W. Eaton <jwe@octave.org>
date Wed, 26 Jan 2011 20:39:15 -0500
parents 12df7854fa7c
children f96b9b9f141b
line wrap: on
line diff
--- a/src/ov.cc	Wed Jan 26 17:58:07 2011 -0500
+++ b/src/ov.cc	Wed Jan 26 20:39:15 2011 -0500
@@ -1300,6 +1300,14 @@
   return rep->subsasgn (type, idx, rhs);
 }
 
+octave_value
+octave_value::undef_subsasgn (const std::string& type,
+                              const std::list<octave_value_list>& idx,
+                              const octave_value& rhs)
+{
+  return rep->undef_subsasgn (type, idx, rhs);
+}
+
 octave_value&
 octave_value::assign (assign_op op, const std::string& type,
                       const std::list<octave_value_list>& idx,