- Timestamp:
- 06/19/17 16:00:48 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_olga/src/transformation/generic_algorithm_transformation.cpp
r1158 r1173 45 45 { 46 46 dataOut(localIndex[idx].first) += *(dataInput + idx) * localIndex[idx].second; 47 } 48 } 49 50 // for (int idx = 0; idx < nbLocalIndex; ++idx) 51 // { 52 // if (!flagInitial[localIndex[idx].first]) 53 // dataOut(localIndex[idx].first) = defaultValue; 54 // } 47 flagInitial[localIndex[idx].first] = true; // Reset flag to indicate not all data source are nan 48 } 49 } 50 51 for (int idx = 0; idx < nbLocalIndex; ++idx) 52 { 53 if (!flagInitial[localIndex[idx].first]) 54 dataOut(localIndex[idx].first) = defaultValue; 55 } 55 56 } 56 57 else
Note: See TracChangeset
for help on using the changeset viewer.