#2763 Use std::min and std::max instead of CVF_MAX and CVF_MIN

This commit is contained in:
Kristian Bendiksen authored and Magne Sjaastad committed 2020-09-01 08:12:44 +02:00
1 parent a114309776
commit a6ddf7e6c4
9 files changed
+36 -36

No files matched your search

@@ -469,7 +469,7 @@ void RimRegularLegendConfig::updateLegend()
else
{
// For linear mapping, use the max value as reference for num valid digits
double absRange = CVF_MAX( cvf::Math::abs( adjustedMax ), cvf::Math::abs( adjustedMin ) );
double absRange = std::max( cvf::Math::abs( adjustedMax ), cvf::Math::abs( adjustedMin ) );
decadesInRange = log10( absRange );
}