minor changes for compilation with Clang

This commit is contained in:
Nico Pietroni 2014-12-08 15:11:01 +00:00
parent a5ea80d9df
commit 472373efbe
1 changed files with 1 additions and 1 deletions

View File

@ -379,7 +379,7 @@ ScalarType ComputeAspectRatio()
double a1=SolidAngle(1);
double a2=SolidAngle(2);
double a3=SolidAngle(3);
return (ScalarType)math::Min(a0,math::Min(a1,math::Min(a2,a3)));
return (ScalarType)std::min(a0,std::min(a1,std::min(a2,a3)));
}
///return true of p is inside tetrahedron's volume