fix scoping ambiguity issue that confuses nvcc

This commit is contained in:
Axel Kohlmeyer 2017-11-30 10:56:58 -05:00
parent fa6fc947f2
commit 319508bd29
1 changed files with 1 additions and 1 deletions

View File

@ -356,7 +356,7 @@ DenseMatrix<T> Matrix<T>::pow(double n) const
int sz=this->size(); for(INDEX i=0; i<sz; i++)
{
double val = R[i];
R[i] = pow(val,n);
R[i] = std::pow(val,n);
}
return R;
}