Price list behind API: Difference between revisions
→{{header|Wren}}: Fixed corner case.
(add @assert from python version) |
(→{{header|Wren}}: Fixed corner case.) |
||
Line 391:
pmax = mc[0]
pcount = mc[1]
if (pcount == 0) Fiber.abort("Price list from %(pmin) has too many with same price.")
res.add([pmin, pmax, pcount])
}
|