Changeset 713 for XIOS/trunk/src/node
- Timestamp:
- 10/01/15 09:43:07 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/node/axis.cpp
r679 r713 224 224 if (!bounds.isEmpty()) 225 225 { 226 if (bounds.extent(0) != n || bounds.extent(1) != 2)227 228 << "The bounds array of the axis [ id = '" << getId() << "' , context = '" << CObjectFactory::GetCurrentContextId() << "' ] must be of dimension axis size x 2." << std::endl229 230 226 if (bounds.extent(0) != 2 || bounds.extent(1) != n) 227 ERROR("CAxis::checkAttributes(void)", 228 << "The bounds array of the axis [ id = '" << getId() << "' , context = '" << CObjectFactory::GetCurrentContextId() << "' ] must be of dimension 2 x axis size." << std::endl 229 << "Axis size is " << n.getValue() << "." << std::endl 230 << "Bounds size is "<< bounds.extent(0) << " x " << bounds.extent(1) << "."); 231 231 hasBounds_ = true; 232 232 }
Note: See TracChangeset
for help on using the changeset viewer.