Mercurial > hg > octave-nkf
diff liboctave/ChangeLog @ 4703:72c28fd651c4
[project @ 2004-01-22 00:01:09 by jwe]
author | jwe |
---|---|
date | Thu, 22 Jan 2004 00:01:09 +0000 |
parents | 4d2e1623c9a9 |
children | 8d4bb887f381 |
line wrap: on
line diff
--- a/liboctave/ChangeLog +++ b/liboctave/ChangeLog @@ -1,10 +1,12 @@ 2004-01-21 Petter Risholm <risholm@stud.ntnu.no> - * Array.cc (Array<T>::assignN(Array<LT>&, const Array<RT>&, - const LT&)): Fix incorrectly nested if statement. + * Array.h (Array<T>::chop_trailing_singletons): New function. + * Array.cc (Array<T>::assignN): Use it on LHS. + + * Array.cc (Array<T>::assignN): Fix incorrectly nested if statement. Retrieve scalar element by passin 0 instead of an index array. - Check for singleton dimensions where RHS is matrix or higher - dimension. + Check for singleton dimensions where RHS is matrix or higher dimension. + Make sure index is in bounds. 2004-01-19 John W. Eaton <jwe@bevo.che.wisc.edu>