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

This commit is contained in:
Kristian Bendiksen
2020-08-31 15:52:36 +02:00
committed by Magne Sjaastad
parent a114309776
commit a6ddf7e6c4
9 changed files with 36 additions and 36 deletions

View File

@@ -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 );
}