mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Use AppEnum for DateTimePeriod
This commit is contained in:
committed by
Gaute Lindkvist
parent
54206a42f6
commit
d895f342e2
@@ -174,11 +174,11 @@ double RimSimWellInViewTools::extractValueForTimeStep( RifSummaryReaderInterface
|
||||
resampler.setCurveData( values, timeSteps );
|
||||
if ( RiaSummaryTools::hasAccumulatedData( addr ) )
|
||||
{
|
||||
resampler.resampleAndComputePeriodEndValues( DateTimePeriod::DAY );
|
||||
resampler.resampleAndComputePeriodEndValues( RiaQDateTimeTools::DateTimePeriod::DAY );
|
||||
}
|
||||
else
|
||||
{
|
||||
resampler.resampleAndComputeWeightedMeanValues( DateTimePeriod::DAY );
|
||||
resampler.resampleAndComputeWeightedMeanValues( RiaQDateTimeTools::DateTimePeriod::DAY );
|
||||
}
|
||||
|
||||
// Find the data point which best matches the selected time step
|
||||
|
||||
Reference in New Issue
Block a user