mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2763 Use std::min and std::max instead of CVF_MAX and CVF_MIN
This commit is contained in:
committed by
Magne Sjaastad
parent
a114309776
commit
a6ddf7e6c4
@@ -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 );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user