diff --git a/mat.h b/mat.h index d2bdfff..b750ba2 100644 --- a/mat.h +++ b/mat.h @@ -105,7 +105,7 @@ public: void get(int fd, bool dimensions=1, bool transposed=false); void put(int fd, bool dimensions=1, bool transposed=false) const; void copyonwrite(); - void resize(const int n, const int m); + void resize(int n, int m); inline operator T*(); //get a pointer to the data inline operator const T*() const; NRMat & transposeme(int n=0); // square matrices only @@ -492,7 +492,7 @@ void NRMat::copyonwrite() } template -void NRMat::resize(const int n, const int m) +void NRMat::resize(int n, int m) { #ifdef DEBUG if (n<0 || m<0) laerror("illegal dimensions in Mat::resize()");