Correct context for error message in EtesianEngine::setDefaultAb().

This commit is contained in:
Jean-Paul Chaput 2020-08-05 01:29:37 +02:00
parent 85d7714910
commit 748289ad7e
1 changed files with 6 additions and 1 deletions

View File

@ -384,7 +384,12 @@ namespace Etesian {
continue; continue;
} }
if (masterCell->getAbutmentBox().getHeight() != getSliceHeight()) {
cmess2 << " - Using as block: " << occurrence.getCompactString() << "." << endl; cmess2 << " - Using as block: " << occurrence.getCompactString() << "." << endl;
cerr << Error( "EtesianEngine::setDefaultAb(): Block instances are not managed, \"%s\"."
, getString(instance->getName()).c_str() ) << endl;
}
cellLength += DbU::toLambda( _bloatCells.getAb( occurrence ).getWidth() ); cellLength += DbU::toLambda( _bloatCells.getAb( occurrence ).getWidth() );
instanceNb += 1; instanceNb += 1;
} }