From f8fb04164139d424db20f2c317988af87b411ebc Mon Sep 17 00:00:00 2001 From: cnr-isti-vclab Date: Fri, 18 Mar 2005 16:31:02 +0000 Subject: [PATCH] minor bugs fixed --- vcg/math/matrix.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vcg/math/matrix.h b/vcg/math/matrix.h index 2ab593b6..9aa2dd0b 100644 --- a/vcg/math/matrix.h +++ b/vcg/math/matrix.h @@ -430,7 +430,7 @@ namespace vcg { Matrix result(_rows, _columns); for (unsigned int i=0; i<_rows*_columns; i++) - results._data[i] = _data[i]-k; + result._data[i] = _data[i]-k; return result; }; @@ -455,7 +455,7 @@ namespace vcg { Matrix result(_rows, _columns); for (unsigned int i=0; i<_rows*_columns; i++) - results._data[i] = _data[i]*k; + result._data[i] = _data[i]*k; return result; }; @@ -468,7 +468,7 @@ namespace vcg { Matrix result(_rows, _columns); for (unsigned int i=0; i<_rows*_columns; i++) - results._data[i] = _data[i]/k; + result._data[i] = _data[i]/k; return result; };