Mercurial > octave-nkf
comparison src/ov-base.cc @ 8458:d254a21e0120
reimplement full as method of octave_base_value
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Mon, 12 Jan 2009 13:06:06 +0100 |
parents | c777f3ce02d8 |
children | 906f976d35a8 |
comparison
equal
deleted
inserted
replaced
8457:c72207960242 | 8458:d254a21e0120 |
---|---|
68 octave_value | 68 octave_value |
69 octave_base_value::squeeze (void) const | 69 octave_base_value::squeeze (void) const |
70 { | 70 { |
71 std::string nm = type_name (); | 71 std::string nm = type_name (); |
72 error ("squeeze: invalid operation for %s type", nm.c_str ()); | 72 error ("squeeze: invalid operation for %s type", nm.c_str ()); |
73 return octave_value (); | |
74 } | |
75 | |
76 octave_value | |
77 octave_base_value::full_value (void) const | |
78 { | |
79 gripe_wrong_type_arg ("full: invalid operation for %s type", type_name ()); | |
73 return octave_value (); | 80 return octave_value (); |
74 } | 81 } |
75 | 82 |
76 octave_value | 83 octave_value |
77 octave_base_value::subsref (const std::string&, | 84 octave_base_value::subsref (const std::string&, |