Changeset 1411


Ignore:
Timestamp:
01/25/18 14:04:37 (6 years ago)
Author:
ymipsl
Message:

Bug fix on server side when receiving a distributed axis with zoom index.

YM

File:
1 edited

Legend:

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

    r1409 r1411  
    953953    global_zoom_end   = global_zoom_begin + global_zoom_n - 1; 
    954954 
    955     zoom_begin = zoomIndex ? std::distance(itZoomBegin, zoom_index_tmp.begin()) 
     955    zoom_begin = zoomIndex ? std::distance(zoom_index_tmp.begin(), itZoomBegin) 
    956956                           : global_zoom_begin > begin_srv ? global_zoom_begin : begin_srv ; 
    957957    zoom_end   = zoomIndex ? std::distance(zoom_index_tmp.begin(), itZoomEnd) - 1  
Note: See TracChangeset for help on using the changeset viewer.