Mercurial > hg > octave-lyh
changeset 4562:4699bdb4c362
[project @ 2003-10-28 21:14:07 by jwe]
author | jwe |
---|---|
date | Tue, 28 Oct 2003 21:14:07 +0000 |
parents | e84592dc70b9 |
children | 742993a501b9 |
files | src/oct-map.cc |
diffstat | 1 files changed, 1 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/oct-map.cc +++ b/src/oct-map.cc @@ -151,10 +151,6 @@ retval(i) = a(i); } - std::cerr << a.str () << std::endl; - std::cerr << b.str () << std::endl; - std::cerr << retval.str () << std::endl; - return retval; } @@ -201,7 +197,7 @@ map[key] = rhs; else { - if (dimensions () == rhs.dims ()) + if (dims () == rhs.dims ()) map[key] = rhs; else error ("invalid structure assignment");