Bug in placement generation ...
This commit is contained in:
parent
578c871e58
commit
45ff02387c
|
@ -408,7 +408,8 @@ PPlacement::Init(lofig* fig, int NbRows)
|
||||||
PRow::PSubRows::iterator subrfirst = (*rfirst)->GetSubRows().begin();
|
PRow::PSubRows::iterator subrfirst = (*rfirst)->GetSubRows().begin();
|
||||||
|
|
||||||
PIns* InsInserting = *iptfirst;
|
PIns* InsInserting = *iptfirst;
|
||||||
while(1) {
|
while(1)
|
||||||
|
{
|
||||||
int NbOfBins;
|
int NbOfBins;
|
||||||
int BinNumber;
|
int BinNumber;
|
||||||
|
|
||||||
|
@ -441,7 +442,8 @@ PPlacement::Init(lofig* fig, int NbRows)
|
||||||
subrfirst = (*rfirst)->GetSubRows().begin();
|
subrfirst = (*rfirst)->GetSubRows().begin();
|
||||||
NbOfBins = (*subrfirst)->GetNBins();
|
NbOfBins = (*subrfirst)->GetNBins();
|
||||||
BinNumber = 0;
|
BinNumber = 0;
|
||||||
while (iptfirst != ClassedInss.end()) {
|
while (iptfirst != ClassedInss.end())
|
||||||
|
{
|
||||||
if ((*iptfirst)->GetWidth() <=
|
if ((*iptfirst)->GetWidth() <=
|
||||||
(*subrfirst)->GetWidth() - (*subrfirst)->GetSize())
|
(*subrfirst)->GetWidth() - (*subrfirst)->GetSize())
|
||||||
{
|
{
|
||||||
|
@ -477,6 +479,8 @@ PPlacement::Init(lofig* fig, int NbRows)
|
||||||
}
|
}
|
||||||
rfirst = _rows.begin();
|
rfirst = _rows.begin();
|
||||||
subrfirst = (*rfirst)->GetSubRows().begin();
|
subrfirst = (*rfirst)->GetSubRows().begin();
|
||||||
|
NbOfBins = (*subrfirst)->GetNBins();
|
||||||
|
BinNumber = 0;
|
||||||
InsInserting = *iptfirst;
|
InsInserting = *iptfirst;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue