disambiguated a pow call

This commit is contained in:
Paolo Cignoni 2010-09-07 22:14:20 +00:00
parent f7e2f7d539
commit 2bfd589613
1 changed files with 1 additions and 1 deletions

View File

@ -278,7 +278,7 @@ namespace vcg{
s+=(_rows-1);
}
Matrix<TYPE> temp(_rows-1, _columns-1, values);
return (pow(-1, i+j)*temp.Determinant());
return (pow(TYPE(-1.0), TYPE(i+j))*temp.Determinant());
};
/*!