Reset the clears table on zero size conditions
parent
f9c4b3cc96
commit
566a54ffb6
|
@ -310,6 +310,10 @@ def update_pps(
|
||||||
cost=2*r.cost,
|
cost=2*r.cost,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if pp.size == 0:
|
||||||
|
pp.clears.clear()
|
||||||
|
|
||||||
|
else:
|
||||||
# track clearing data
|
# track clearing data
|
||||||
pp.clears[r.tid] = {
|
pp.clears[r.tid] = {
|
||||||
'cost': r.cost,
|
'cost': r.cost,
|
||||||
|
|
Loading…
Reference in New Issue