Skip to content
Snippets Groups Projects

updates NumLimitsT.hh to use <limits> for numeric limits for int/float/double....

Merged Zain Selman requested to merge zs/fix-gcc11-numeric-limits into master
5 files
+ 14
15
Compare changes
  • Side-by-side
  • Inline
Files
5
@@ -132,7 +132,7 @@ setup_cylinder_system(GLState& _state)
double norm = axis.norm();
double angle;
if (norm > FLT_MIN)
if (norm > NumLimitsT<float>::min())
{
axis /= norm;
if (scal_prod > 1.0) scal_prod = 1.0;
Loading