Changeset 1964


Ignore:
Timestamp:
10/14/20 17:20:12 (4 years ago)
Author:
yushan
Message:

trunk : Mask was not correctly applied on data when data_index is used

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/node/axis.cpp

    r1852 r1964  
    389389        for (int i = 0; i < data_n; ++i) 
    390390        { 
    391           if ((i+data_begin) >= 0 && (i+data_begin<n) && !mask(i+data_begin)) 
     391          if (!mask(data_index(i))) 
    392392            data_index(i) = -1; 
    393393        } 
Note: See TracChangeset for help on using the changeset viewer.