Mercurial > hg > octave-nkf
diff liboctave/Array3.h @ 4645:bd2067547b40
[project @ 2003-11-23 08:07:52 by jwe]
author | jwe |
---|---|
date | Sun, 23 Nov 2003 08:07:53 +0000 |
parents | 508238e65af7 |
children | e35b034d3523 |
line wrap: on
line diff
--- a/liboctave/Array3.h +++ b/liboctave/Array3.h @@ -69,19 +69,15 @@ Array3<T>& operator = (const Array3<T>& a) { if (this != &a) - { - Array<T>::operator = (a); - - dimensions = a.dimensions; - } + Array<T>::operator = (a); return *this; } - void resize (int r, int c, int p) { resize_no_fill (r, c, p); } + void resize (int r, int c, int p) { this->resize_no_fill (r, c, p); } void resize (int r, int c, int p, const T& val) - { resize_and_fill (r, c, p, val); } + { this->resize_and_fill (r, c, p, val); } }; #endif