Mercurial > hg > octave-lyh
diff src/ov-builtin.cc @ 4219:23d06c9e1edd
[project @ 2002-12-06 21:29:17 by jwe]
author | jwe |
---|---|
date | Fri, 06 Dec 2002 21:29:19 +0000 |
parents | 5719210fff4c |
children | fc9a075d10fb |
line wrap: on
line diff
--- a/src/ov-builtin.cc +++ b/src/ov-builtin.cc @@ -53,7 +53,7 @@ octave_value_list octave_builtin::subsref (const std::string type, - const SLList<octave_value_list>& idx, + const std::list<octave_value_list>& idx, int nargout) { octave_value_list retval; @@ -86,7 +86,7 @@ // do? If it is not, then what should happen for stat("file").size, // for exmaple? - if (idx.length () > 1) + if (idx.size () > 1) retval = retval(0).next_subsref (type, idx); return retval;