grid2: update lowerPrice

This commit is contained in:
c9s 2022-11-06 10:13:13 +08:00
parent d6f751c027
commit 533587ffd2
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

View File

@ -114,6 +114,7 @@ func (g *Grid) ExtendLowerPrice(lower fixedpoint.Value) (newPins []Pin) {
newPins = append(newPins, Pin(p)) newPins = append(newPins, Pin(p))
} }
g.LowerPrice = lower
g.addPins(newPins) g.addPins(newPins)
return newPins return newPins
} }