Ignore:
Timestamp:
09/15/15 17:31:24 (9 years ago)
Author:
mhnguyen
Message:

Correcting minor bugs after merging

Test
+) On Curie
+) All tests pass

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/node/domain.cpp

    r689 r691  
    787787       } 
    788788 
    789        if (!bounds_lon_1d.isEmpty() && nvertex.getValue() != bounds_lon_1d.extent(1)) 
     789       if (!bounds_lon_1d.isEmpty() && nvertex.getValue() != bounds_lon_1d.extent(0)) 
    790790         ERROR("CDomain::checkBounds(void)", 
    791791               << "[ id = " << this->getId() << " , context = '" << CObjectFactory::GetCurrentContextId() << " ] " 
     
    794794               << " but nvertex is " << nvertex.getValue() << "."); 
    795795 
    796        if (!bounds_lon_2d.isEmpty() && nvertex.getValue() != bounds_lon_2d.extent(2)) 
     796       if (!bounds_lon_2d.isEmpty() && nvertex.getValue() != bounds_lon_2d.extent(0)) 
    797797         ERROR("CDomain::checkBounds(void)", 
    798798               << "[ id = " << this->getId() << " , context = '" << CObjectFactory::GetCurrentContextId() << " ] " 
     
    811811               << "Since 'bounds_lon_2d' is defined, 'lonvalue_2d' must be defined too." << std::endl); 
    812812 
    813        if (!bounds_lat_1d.isEmpty() && nvertex.getValue() != bounds_lat_1d.extent(1)) 
     813       if (!bounds_lat_1d.isEmpty() && nvertex.getValue() != bounds_lat_1d.extent(0)) 
    814814         ERROR("CDomain::checkBounds(void)", 
    815815               << "[ id = " << this->getId() << " , context = '" << CObjectFactory::GetCurrentContextId() << " ] " 
     
    818818               << " but nvertex is " << nvertex.getValue() << "."); 
    819819 
    820        if (!bounds_lat_2d.isEmpty() && nvertex.getValue() != bounds_lat_2d.extent(2)) 
     820       if (!bounds_lat_2d.isEmpty() && nvertex.getValue() != bounds_lat_2d.extent(0)) 
    821821         ERROR("CDomain::checkBounds(void)", 
    822822               << "[ id = " << this->getId() << " , context = '" << CObjectFactory::GetCurrentContextId() << " ] " 
Note: See TracChangeset for help on using the changeset viewer.