Ignore:
Timestamp:
04/23/20 16:04:22 (4 years ago)
Author:
ymipsl
Message:

Some update on XIOS_COUPLING branch...

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_ym/XIOS_COUPLING/src/node/axis.cpp

    r1871 r1872  
    383383        for (int i = 0; i < data_n; ++i) 
    384384        { 
    385           if ((i+data_begin) >= 0 && (i+data_begin<n) && !mask(i+data_begin)) 
    386             data_index(i) = -1; 
     385           if (data_index(i) >= 0 && data_index(i)<n) 
     386             if (!mask(data_index(i))) data_index(i) = -1; 
    387387        } 
    388388      } 
     
    12811281    nonCompressedData = -1;    
    12821282    // Mask is incorporated into data_index and is not sent/received anymore 
    1283     mask.resize(0); 
     1283    mask.reset(); 
    12841284    if (hasValue) 
    12851285      value.resize(nbData); 
Note: See TracChangeset for help on using the changeset viewer.