diff --git a/alliance/src/ocp/src/placer/PPlacementFinal.cpp b/alliance/src/ocp/src/placer/PPlacementFinal.cpp index 0d91d376..fc134ef1 100644 --- a/alliance/src/ocp/src/placer/PPlacementFinal.cpp +++ b/alliance/src/ocp/src/placer/PPlacementFinal.cpp @@ -147,7 +147,7 @@ PPlacement::FinalInitialize() eit != (*nit)->GetElems().end(); eit++) { - if (!dynamic_cast(*eit)) + if (dynamic_cast(*eit)) { cerr << " o INTERNAL ERROR: FinalInitialize" << endl; exit(1);