Skip to content

Commit 5571a28

Browse files
remove python 3.8-incompatible type annotation
1 parent ba94b45 commit 5571a28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/geophires_x/Economics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ def CalculateCarbonRevenue(model, plant_lifetime: int, construction_years: int,
306306

307307
def calculate_npv(
308308
discount_rate_tenths: float,
309-
cashflow_series: list[float],
309+
cashflow_series: list,
310310
discount_initial_year_cashflow: bool
311311
) -> float:
312312
# TODO warn/raise exception if discount rate > 1 (i.e. it's probably not converted from percent to tenths)

0 commit comments

Comments
 (0)