This commit is contained in:
Lorenz Meier
2016-01-12 11:50:21 +01:00
parent 67c8c8b331
commit 187830164d
+1 -1
View File
@@ -10,7 +10,7 @@ namespace matrix
template<typename Type>
Type wrap_pi(Type x)
{
if (!isfinite(float(x))) {
if (!isfinite(Type(x))) {
return x;
}