Ignore:
Timestamp:
09/11/17 17:06:38 (3 years ago)
Author:
ymipsl
Message:

Buf fix in reduction. Missing value update was not set correctly

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/XIOS_DEV_CMIP6/src/transformation/Functions/reduction.hpp

    r1158 r1260  
    4141    \param [in/out] dataOut Array contains local data 
    4242    \param [in/out] flagInitial vector of boolean to mark the local index already initialized. True means there is a need for initialization 
     43    \param [in] firstPass indicate if it is the first time the apply funtion is called for a same transformation, in order to make a clean initialization  
    4344  */ 
    4445  virtual void apply(const std::vector<std::pair<int,double> >& localIndex, 
     
    4647                     CArray<double,1>& dataOut, 
    4748                     std::vector<bool>& flagInitial,                      
    48                      bool ignoreMissingValue) = 0; 
     49                     bool ignoreMissingValue, bool firstPass) = 0; 
    4950  /*! 
    5051    Update local data  
Note: See TracChangeset for help on using the changeset viewer.