diff src/ov-usr-fcn.cc @ 4219:23d06c9e1edd

[project @ 2002-12-06 21:29:17 by jwe]
author jwe
date Fri, 06 Dec 2002 21:29:19 +0000
parents fa3482b34599
children ccfdb55c8156
line wrap: on
line diff
--- a/src/ov-usr-fcn.cc	Thu Dec 05 04:43:20 2002 +0000
+++ b/src/ov-usr-fcn.cc	Fri Dec 06 21:29:19 2002 +0000
@@ -284,7 +284,7 @@
   tree_parameter_list *tmp = static_cast<tree_parameter_list *> (lst);
 
   if (tmp)
-    tmp->clear ();
+    tmp->undefine ();
 }
 
 static void
@@ -305,7 +305,7 @@
 
 octave_value_list
 octave_user_function::subsref (const std::string type,
-			       const SLList<octave_value_list>& idx,
+			       const std::list<octave_value_list>& idx,
 			       int nargout)
 {
   octave_value_list retval;
@@ -332,7 +332,7 @@
   // octave_value_list::next_subsref member function?  See also
   // octave_builtin::subsref.
 
-  if (idx.length () > 1)
+  if (idx.size () > 1)
     retval = retval(0).next_subsref (type, idx);
 
   return retval;