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