diff src/pt-const.cc @ 2960:194b50e4725b

[project @ 1997-05-12 00:43:54 by jwe]
author jwe
date Mon, 12 May 1997 00:54:04 +0000
parents 026f342c2019
children f2be17e6f1ea
line wrap: on
line diff
--- a/src/pt-const.cc	Sun May 11 22:53:13 1997 +0000
+++ b/src/pt-const.cc	Mon May 12 00:54:04 1997 +0000
@@ -71,7 +71,7 @@
 octave_value_list
 tree_constant::eval (bool, int, const octave_value_list& idx)
 {
-  return (idx.length () > 0) ? index (idx) : val;
+  return (idx.length () > 0) ? val.do_index_op (idx) : val;
 }
 
 void