diff --git a/src/db/db/dbLayoutDiff.cc b/src/db/db/dbLayoutDiff.cc index 9fc6b1dea..b51ef097f 100644 --- a/src/db/db/dbLayoutDiff.cc +++ b/src/db/db/dbLayoutDiff.cc @@ -427,6 +427,9 @@ struct PathCompareOpWithTolerance db::Path::iterator ia = a.begin (), ib = b.begin (); while (ia != a.end () && ib != b.end ()) { c = compare_point (*ia, *ib, m_tolerance); + if (c != 0) { + return c < 0; + } ++ia; ++ib; }