Changeset 2546


Ignore:
Timestamp:
08/29/23 17:04:53 (9 months ago)
Author:
ymipsl
Message:

Bug fix when unsing online writer for axis.
YM

File:
1 edited

Legend:

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

    r2507 r2546  
    418418        // It's not so correct but if begin is not the first value of index  
    419419        // then data on the local axis has user-defined distribution. In this case, begin has no meaning. 
    420         if (begin.isEmpty()) begin = index(0);          
     420        if (begin.isEmpty())  
     421          if (n==0) begin=0 ; 
     422          else begin = index(0);          
    421423      } 
    422424      else  
Note: See TracChangeset for help on using the changeset viewer.