Skip to content

Commit e9a99d0

Browse files
Refs #15. Explicitly use float math.
1 parent e884049 commit e9a99d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

statistics.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ template <>
6060
void getMinMax<float>(float &min, float &max)
6161
{
6262
min = std::numeric_limits<float>::max();
63-
max = -1. * std::numeric_limits<float>::max();
63+
max = -1.f * std::numeric_limits<float>::max();
6464
}
6565

6666
}

0 commit comments

Comments
 (0)