Ignore:
Timestamp:
10/01/15 09:43:07 (7 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/node/axis.cpp

    r609 r713  
    8282      if (!bounds.isEmpty()) 
    8383      { 
    84         if (bounds.extent(0) != size || bounds.extent(1) != 2) 
     84        if (bounds.extent(0) != 2 || bounds.extent(1) != size) 
    8585            ERROR("CAxis::checkAttributes(void)", 
    86                   << "The bounds array of the axis [ id = '" << getId() << "' , context = '" << CObjectFactory::GetCurrentContextId() << "' ] must be of dimension axis size x 2" << endl 
     86                  << "The bounds array of the axis [ id = '" << getId() << "' , context = '" << CObjectFactory::GetCurrentContextId() << "' ] must be of dimension axis 2 x size" << endl 
    8787                  << "Axis size is " << size << endl 
    8888                  << "Bounds size is "<< bounds.extent(0) << " x " << bounds.extent(1)); 
Note: See TracChangeset for help on using the changeset viewer.