Mercurial > hg > octave-thorsten
diff src/ov-base-sparse.h @ 5760:8d7162924bd3
[project @ 2006-04-14 04:01:37 by jwe]
author | jwe |
---|---|
date | Fri, 14 Apr 2006 04:01:40 +0000 |
parents | ce79d238f142 |
children | 6b9cec830d72 |
line wrap: on
line diff
--- a/src/ov-base-sparse.h +++ b/src/ov-base-sparse.h @@ -118,7 +118,7 @@ octave_value any (int dim = 0) const { return matrix.any (dim); } SparseType sparse_type (void) const { return typ; } - SparseType sparse_type (const SparseType& _typ) + SparseType sparse_type (const SparseType& _typ) const { SparseType ret = typ; typ = _typ; return ret; } bool is_matrix_type (void) const { return true; } @@ -152,7 +152,7 @@ T matrix; - SparseType typ; + mutable SparseType typ; }; #endif