From 4a382f312a6ebe85d2f484282006a451bbf92110 Mon Sep 17 00:00:00 2001 From: Christophe Alexandre Date: Wed, 24 May 2006 13:34:21 +0000 Subject: [PATCH] minor bug in PCon creation --- alliance/src/ocp/src/placer/PCon.cpp | 8 ++++++-- alliance/src/ocp/src/placer/PPlacementGlobal.cpp | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/alliance/src/ocp/src/placer/PCon.cpp b/alliance/src/ocp/src/placer/PCon.cpp index c190defb..010f789e 100644 --- a/alliance/src/ocp/src/placer/PCon.cpp +++ b/alliance/src/ocp/src/placer/PCon.cpp @@ -43,8 +43,12 @@ PCon::PCon(const locon* con, phcon* pcon, int dx, int dy) } } -PCon::PCon(const locon* con, PPos pos, char orient): - PElem(), _con(con), _pos(pos), _orient(orient) +PCon::PCon(const locon* con, PPos pos, char orient) + : PElem() + , _con(con) + , _phcon(NULL) + , _pos(pos) + , _orient(orient) {} void diff --git a/alliance/src/ocp/src/placer/PPlacementGlobal.cpp b/alliance/src/ocp/src/placer/PPlacementGlobal.cpp index 83f4507b..7e66b43f 100644 --- a/alliance/src/ocp/src/placer/PPlacementGlobal.cpp +++ b/alliance/src/ocp/src/placer/PPlacementGlobal.cpp @@ -470,7 +470,7 @@ PPlacement::PlaceGlobal() cout << " o " << 100.0 * _rejectedExchangeNumber / _totalMoves << " % of rejected instance exchange" << endl; cout << " o Impossible Movements Stats .... "<< endl; - cout << " o If you find those value interesting, look for a doctor ..." << endl; + cout << " o If you find these values interesting, call a doctor..." << endl; cout << " o Total impossible movements = " << totalImpossibleMovements << endl; cout << " o " << 100.0 * _surOccupationTargetMovementNumber / totalImpossibleMovements << " % suroccupied target" << endl;