Spaces:
Sleeping
Sleeping
Commit ·
ed2014d
1
Parent(s): 916f3ff
fix: ensure talent_price_bonus defaults to 0 in get_results function
Browse files
solver.py
CHANGED
|
@@ -93,6 +93,7 @@ def get_results(
|
|
| 93 |
strategy,
|
| 94 |
*inventory,
|
| 95 |
):
|
|
|
|
| 96 |
prices: NDArray[np.int16] = np.concat(
|
| 97 |
[
|
| 98 |
PLANTS_DF[currency] * (1 + plants_prices_extra_rate),
|
|
|
|
| 93 |
strategy,
|
| 94 |
*inventory,
|
| 95 |
):
|
| 96 |
+
talent_price_bonus = talent_price_bonus or 0
|
| 97 |
prices: NDArray[np.int16] = np.concat(
|
| 98 |
[
|
| 99 |
PLANTS_DF[currency] * (1 + plants_prices_extra_rate),
|