minor bugs fixed

This commit is contained in:
Paolo Cignoni 2005-03-18 16:31:02 +00:00
parent 4c1f6e73b6
commit f8fb041641
1 changed files with 3 additions and 3 deletions

View File

@ -430,7 +430,7 @@ namespace vcg
{
Matrix<TYPE> 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<TYPE> 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<TYPE> 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;
};