Etesian now verifies that the cell is not placed yet
This commit is contained in:
parent
b1ca43fd57
commit
56603ddc0d
|
@ -804,6 +804,10 @@ namespace Etesian {
|
|||
|
||||
void EtesianEngine::place ()
|
||||
{
|
||||
if(getCell()->isPlaced()){
|
||||
cmess2 << Warning("The cell is already placed; returning") << std::endl;
|
||||
return;
|
||||
}
|
||||
getCell()->uniquify();
|
||||
|
||||
getConfiguration()->print( getCell() );
|
||||
|
|
Loading…
Reference in New Issue