--- trunk/src/applications/hydrodynamics/CompositeShape.cpp 2006/03/17 23:20:35 906 +++ trunk/src/applications/hydrodynamics/CompositeShape.cpp 2006/03/29 18:09:26 921 @@ -76,8 +76,8 @@ std::pair CompositeShape::getBox() std::pair boundary = (*iter)->getBox(); for (++iter; iter != shapes_.end(); ++iter) { std::pair currBoundary = (*iter)->getBox(); - swap_if(boundary.first, currBoundary.first, std::less()); - swap_if(boundary.second, currBoundary.second, std::greater()); + swap_if(boundary.first, currBoundary.first, std::greater()); + swap_if(boundary.second, currBoundary.second, std::less()); } return boundary;