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