Changeset 1416


Ignore:
Timestamp:
02/01/18 09:41:34 (3 years ago)
Author:
ymipsl
Message:

Bug fix when writing axis coordinate in some specific cases.

YM

File:
1 edited

Legend:

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

    r1411 r1416  
    10921092    data_begin.setValue(0); 
    10931093    globalLocalIndexMap_.rehash(std::ceil(index.numElements()/globalLocalIndexMap_.max_load_factor())); 
    1094     for (int idx = 0; idx < index.numElements(); ++idx) globalLocalIndexMap_[idx] = index(idx); 
     1094//    for (int idx = 0; idx < index.numElements(); ++idx) globalLocalIndexMap_[idx] = index(idx); 
     1095    for (int idx = 0; idx < index.numElements(); ++idx) globalLocalIndexMap_[index(idx)] = idx; 
    10951096  } 
    10961097 
Note: See TracChangeset for help on using the changeset viewer.