From 906753538a93e269dae46e3ccd2b39c76400cd8e Mon Sep 17 00:00:00 2001 From: Martin Davis Date: Tue, 25 Oct 2022 10:38:37 -0700 Subject: [PATCH] Fix typo in DepthSegment.compareTo --- src/operation/buffer/SubgraphDepthLocater.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/operation/buffer/SubgraphDepthLocater.cpp b/src/operation/buffer/SubgraphDepthLocater.cpp index 95e11b4f55..44d06c5ec3 100644 --- a/src/operation/buffer/SubgraphDepthLocater.cpp +++ b/src/operation/buffer/SubgraphDepthLocater.cpp @@ -90,7 +90,7 @@ class DepthSegment { */ if (upwardSeg.minX() >= other.upwardSeg.maxX() || upwardSeg.maxX() <= other.upwardSeg.minX() - || upwardSeg.minY() >= other.upwardSeg.maxX() + || upwardSeg.minY() >= other.upwardSeg.maxY() || upwardSeg.maxY() <= other.upwardSeg.minY()) { return upwardSeg.compareTo(other.upwardSeg); };