Ignore:
Timestamp:
06/06/17 19:06:45 (7 years ago)
Author:
yushan
Message:

fix bad commit. Back to R1155 branch not merged

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/branch_yushan_merged/src/transformation/Functions/average_reduction.cpp

    r1157 r1160  
    3939    int nbLocalIndex = localIndex.size(); 
    4040    int currentlocalIndex = 0; 
    41     double currentWeight  = 0.0;     
     41    double currentWeight  = 0.0; 
    4242 
     43    dataOut=std::numeric_limits<double>::quiet_NaN(); 
    4344 
    4445    for (int idx = 0; idx < nbLocalIndex; ++idx) 
     
    5859          weights_(currentlocalIndex) += 1.0; 
    5960        } 
    60       } 
    61       else 
    62       { 
    63         if (flagInitial[currentlocalIndex])  
    64           dataOut(currentlocalIndex) = std::numeric_limits<double>::quiet_NaN(); 
    6561      } 
    6662    } 
Note: See TracChangeset for help on using the changeset viewer.