Commit b8247f75 authored by Pierre Lassalle's avatar Pierre Lassalle

Fix a bug

parent 2d9685bc
......@@ -160,7 +160,7 @@ namespace grm
std::shared_ptr<DerivedRegion>
RegionBase<DerivedRegion>::GetClosestNeighbor()
{
assert(m_Neighbors.size() > 1);
assert(m_Neighbors.size() > 0);
return std::get<0>(FrontEdgeList());
}
} // end of namespace grm
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