mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-16 10:22:15 -05:00
#2763 Use std::min and std::max instead of CVF_MAX and CVF_MIN
This commit is contained in:
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 );
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user