disambiguated a pow call
This commit is contained in:
parent
f7e2f7d539
commit
2bfd589613
|
@ -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());
|
||||
};
|
||||
|
||||
/*!
|
||||
|
|
Loading…
Reference in New Issue