- Timestamp:
- 03/16/17 15:04:53 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/transformation/generic_algorithm_transformation.cpp
r1018 r1076 30 30 CArray<double,1>& dataOut, 31 31 std::vector<bool>& flagInitial, 32 const double& defaultValue)33 { 34 int nbLocalIndex = localIndex.size(); 35 bool hasMissingValue = NumTraits<double>::isnan(defaultValue);36 if ( hasMissingValue)32 bool ignoreMissingValue) 33 { 34 int nbLocalIndex = localIndex.size(); 35 double defaultValue = std::numeric_limits<double>::quiet_NaN(); 36 if (ignoreMissingValue) 37 37 { 38 38 for (int idx = 0; idx < nbLocalIndex; ++idx)
Note: See TracChangeset
for help on using the changeset viewer.