From df5a882739b7b77aca4fc25178ce4f31f49a33ce Mon Sep 17 00:00:00 2001 From: jiri Date: Fri, 14 Mar 2008 15:39:45 +0000 Subject: [PATCH] *** empty log message *** --- mat.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()");