Mercurial > hg > octave-lyh
diff liboctave/idx-vector.h @ 3928:e8627dc4bdf2
[project @ 2002-05-03 19:56:01 by jwe]
author | jwe |
---|---|
date | Fri, 03 May 2002 19:56:02 +0000 |
parents | 5eef8a2294bd |
children | 6e86256e9c54 |
line wrap: on
line diff
--- a/liboctave/idx-vector.h +++ b/liboctave/idx-vector.h @@ -68,6 +68,8 @@ idx_vector_rep (double d); + idx_vector_rep (int i); + idx_vector_rep (char c); idx_vector_rep (bool b); @@ -170,6 +172,12 @@ rep->count = 1; } + idx_vector (int i) + { + rep = new idx_vector_rep (i); + rep->count = 1; + } + idx_vector (char c) { rep = new idx_vector_rep (c);