Ignore:
Timestamp:
10/01/15 09:43:07 (9 years ago)
Author:
rlacroix
Message:

Fix axis bounds: the dimensions were reversed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/branchs/xios-1.0/src/output/nc4_data_output.cpp

    r692 r713  
    658658                   for (int i = 0; i < zoom_size; i++) 
    659659                   { 
    660                      axisBounds(0, i) = axis->bounds(i + zoom_begin, 0); 
    661                      axisBounds(1, i) = axis->bounds(i + zoom_begin, 1); 
     660                     axisBounds(0, i) = axis->bounds(0, i + zoom_begin); 
     661                     axisBounds(1, i) = axis->bounds(1, i + zoom_begin); 
    662662                   } 
    663663                   SuperClassWriter::writeData(axisBounds, axisBoundsId, isCollective, 0); 
Note: See TracChangeset for help on using the changeset viewer.