diff --git a/anabatic/src/AnabaticEngine.cpp b/anabatic/src/AnabaticEngine.cpp index 2dcd6c77..c0e8088a 100644 --- a/anabatic/src/AnabaticEngine.cpp +++ b/anabatic/src/AnabaticEngine.cpp @@ -446,6 +446,7 @@ namespace Anabatic { void AnabaticEngine::_gutAnabatic () { + //DebugSession::open( 159, 160 ); openSession(); _flags.reset( Flags::DestroyBaseContact|Flags::DestroyBaseSegment ); @@ -469,6 +470,7 @@ namespace Anabatic { //if (isegment.second->bloatStackedStrap()) ++bloatedStraps; } sort( reduceds.begin(), reduceds.end() ); + // cerr << "Reduced segment queue:" << endl; // for ( size_t i=0 ; i 0)) return false; AutoContact* source = getAutoSource(); AutoContact* target = getAutoTarget(); @@ -1768,6 +1767,9 @@ namespace Anabatic { // if ( source->isHTee() or source->isVTee() // or target->isHTee() or target->isVTee() ) return false; + cdebug_log(159,0) << " length:" << DbU::getValueString(getAnchoredLength()) << endl; + if (flags & Flags::NullLength) return (getAnchoredLength() == 0); + unsigned int perpandicularDepth = getDepth(); if (isSpinBottom()) { if (perpandicularDepth > 0) --perpandicularDepth; @@ -1776,9 +1778,8 @@ namespace Anabatic { if (perpandicularDepth >= Session::getDepth()) return false; } else return false; - - cdebug_log(159,0) << " length:" << DbU::getValueString(getAnchoredLength()) << endl; - if (getAnchoredLength() >= (Session::getPitch(perpandicularDepth) * 2)) return false; + + if (getAnchoredLength() >= Session::getPitch(perpandicularDepth) * 2) return false; return true; }