Commit ac1d82fa authored by Christian Godenschwager's avatar Christian Godenschwager
Browse files

[BUGFIX] Fixed AABB::empty() function

parent 2706f291
......@@ -396,8 +396,8 @@ typename GenericAABB< T >::value_type GenericAABB< T >::zMax() const
template< typename T >
bool GenericAABB< T >::empty() const
{
return walberla::isIdentical( minCorner_[0], maxCorner_[0] ) &&
walberla::isIdentical( minCorner_[1], maxCorner_[1] ) &&
return walberla::isIdentical( minCorner_[0], maxCorner_[0] ) ||
walberla::isIdentical( minCorner_[1], maxCorner_[1] ) ||
walberla::isIdentical( minCorner_[2], maxCorner_[2] );
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment