Mercurial > hg > octave-lyh
diff liboctave/idx-vector.h @ 10489:d47802f0e557
Back out changeset 4e64fbbd5c58
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Tue, 06 Apr 2010 08:28:15 +0200 |
parents | 942386d6d1a5 |
children | aac9f4265048 |
line wrap: on
line diff
--- a/liboctave/idx-vector.h +++ b/liboctave/idx-vector.h @@ -509,7 +509,9 @@ idx_vector (const Array<bool>& nda); - idx_vector (const Range& r); + idx_vector (const Range& r) + : rep (new idx_range_rep (r)) + { chkerr (); } idx_vector (const Sparse<bool>& nda) : rep (new idx_vector_rep (nda)) { chkerr (); }