Mercurial > hg > octave-lyh
diff liboctave/boolMatrix.h @ 10352:a3635bc1ea19
remove Array2
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Tue, 23 Feb 2010 16:12:27 +0100 |
parents | 5150ceb4dbb4 |
children | 96ed7c629bbd |
line wrap: on
line diff
--- a/liboctave/boolMatrix.h +++ b/liboctave/boolMatrix.h @@ -40,7 +40,7 @@ boolMatrix (octave_idx_type r, octave_idx_type c, bool val) : Array<bool> (r, c, val) { } boolMatrix (const dim_vector& dv) : Array<bool> (dv) { } boolMatrix (const dim_vector& dv, bool val) : Array<bool> (dv, val) { } - boolMatrix (const Array<bool>& a) : Array<bool> (a) { } + boolMatrix (const Array<bool>& a) : Array<bool> (a.as_matrix ()) { } boolMatrix (const boolMatrix& a) : Array<bool> (a) { } boolMatrix& operator = (const boolMatrix& a)