Comment out debug information in Track::repair().

This commit is contained in:
Jean-Paul Chaput 2021-06-12 16:17:03 +02:00
parent ffd6f571b5
commit f9e4daace9
1 changed files with 3 additions and 3 deletions

View File

@ -1003,7 +1003,7 @@ namespace Katana {
uint32_t Track::repair () const uint32_t Track::repair () const
{ {
cerr << "Track::repair() " << this << endl; // cerr << "Track::repair() " << this << endl;
if (_segments.empty()) return 0; if (_segments.empty()) return 0;
DbU::Unit minSpacing = getLayer()->getMinimalSpacing(); DbU::Unit minSpacing = getLayer()->getMinimalSpacing();
@ -1014,7 +1014,7 @@ namespace Katana {
GapSet gapsetCurr ( this ); GapSet gapsetCurr ( this );
for ( size_t i=0 ; i<_segments.size()-1 ; i++ ) { for ( size_t i=0 ; i<_segments.size()-1 ; i++ ) {
// if (getIndex() == 1750) // if (getIndex() == 1750)
cerr << "[" << i << "] " << _segments[i] << endl; // cerr << "[" << i << "] " << _segments[i] << endl;
netChange = false; netChange = false;
gapsetCurr.merge( i ); gapsetCurr.merge( i );
if ( (_segments[i]->getNet() != _segments[i+1]->getNet()) if ( (_segments[i]->getNet() != _segments[i+1]->getNet())
@ -1050,7 +1050,7 @@ namespace Katana {
if (netChange or (i+2 == _segments.size())) { if (netChange or (i+2 == _segments.size())) {
if (gapsetCurr.size() > 1) { if (gapsetCurr.size() > 1) {
cerr << "potential gap around " << _segments[i] << endl; // cerr << "potential gap around " << _segments[i] << endl;
for ( size_t j=0 ; j+1 < gapsetCurr.size() ; ++j ) { for ( size_t j=0 ; j+1 < gapsetCurr.size() ; ++j ) {
// cerr << j << "=[" << DbU::getValueString(gapsetCurr.sourceU(j)) // cerr << j << "=[" << DbU::getValueString(gapsetCurr.sourceU(j))
// << " " << DbU::getValueString(gapsetCurr.targetU(j)) << "], " // << " " << DbU::getValueString(gapsetCurr.targetU(j)) << "], "