min() -> (min)()

This commit is contained in:
Andreas Fabri 2015-04-30 10:26:55 +02:00 committed by Sébastien Loriot
parent 693db86912
commit 2cda7ff7f6
1 changed files with 1 additions and 1 deletions

View File

@ -443,7 +443,7 @@ public:
using namespace boost::math::constants;
double angle = std::acos(v1 * v2) * 180. / pi<double>();
histo[ std::min(179, int(angle)) ]++;
histo[ (std::min)(179, int(angle)) ]++;
min_angle = (std::min)(min_angle, angle);
max_angle = (std::max)(max_angle, angle);