Mercurial > octave-nkf
diff src/Cell.cc @ 5602:dfa2da0563e5
[project @ 2006-01-31 03:43:40 by jwe]
author | jwe |
---|---|
date | Tue, 31 Jan 2006 03:43:41 +0000 |
parents | 3074a549d644 |
children | 5bfb24f90bdd |
line wrap: on
line diff
--- a/src/Cell.cc Sat Jan 21 20:08:33 2006 +0000 +++ b/src/Cell.cc Tue Jan 31 03:43:41 2006 +0000 @@ -29,6 +29,7 @@ #include "Cell.h" #include "error.h" +#include "gripes.h" Cell::Cell (const string_vector& sv) : ArrayN<octave_value> () @@ -114,6 +115,13 @@ return *this; } +octave_idx_type +Cell::nnz (void) const +{ + gripe_wrong_type_arg ("nnz", "cell array"); + return -1; +} + Cell Cell::column (octave_idx_type i) const {