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/generic_algorithm_transformation.cpp

    r1156 r1160  
    4545      { 
    4646        dataOut(localIndex[idx].first) += *(dataInput + idx) * localIndex[idx].second; 
    47         flagInitial[localIndex[idx].first] = true; // Reset flag to indicate not all data source are nan 
    48       } 
    49     } 
    50  
    51     // If all data source are nan then data destination must be nan 
    52     for (int idx = 0; idx < nbLocalIndex; ++idx) 
    53     { 
    54       if (!flagInitial[localIndex[idx].first]) 
    55         dataOut(localIndex[idx].first) = defaultValue; 
    56     } 
     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    // } 
    5755  } 
    5856  else 
Note: See TracChangeset for help on using the changeset viewer.