Changeset 1406


Ignore:
Timestamp:
01/22/18 17:42:26 (6 years ago)
Author:
ymipsl
Message:

Fix a problem in computing initial sampling date in temporal filter, missing parenthesis.

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/XIOS_DEV_CMIP6/src/filter/temporal_filter.cpp

    r1358 r1406  
    2222                       this->samplingOffset.second, this->samplingOffset.timestep}) 
    2323    , initDate(initDate) 
    24     , nextSamplingDate(initDate + this->samplingOffset + initDate.getRelCalendar().getTimeStep()) 
     24    , nextSamplingDate(initDate + (this->samplingOffset + initDate.getRelCalendar().getTimeStep())) 
    2525    , nbOperationDates(1) 
    2626//    , nextOperationDate(initDate + opFreq + this->samplingOffset) 
Note: See TracChangeset for help on using the changeset viewer.