diff --git a/anabatic/src/AutoSegment.cpp b/anabatic/src/AutoSegment.cpp index 9d9b9962..6eee13c0 100644 --- a/anabatic/src/AutoSegment.cpp +++ b/anabatic/src/AutoSegment.cpp @@ -2030,7 +2030,7 @@ namespace Anabatic { if ( (minSourceDepth == maxSourceDepth) and (minTargetDepth == maxTargetDepth) - and (minTargetDepth == minTargetDepth) ) { + and (minSourceDepth == minTargetDepth) ) { const Layer* layer = Session::getRoutingLayer(minSourceDepth); DbU::Unit side = Session::getWireWidth (minSourceDepth);