We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fb804d commit f6e2645Copy full SHA for f6e2645
src/geophires_x/Economics.py
@@ -1383,7 +1383,7 @@ def __init__(self, model: Model):
1383
)
1384
1385
fir_default_unit = PercentUnit.PERCENT
1386
- fir_default_val = self.discountrate.quantity().to(convertible_unit(fir_default_unit)).magnitude # pint can't handle '%' in python 3.8
+ fir_default_val = self.discountrate.quantity().to(convertible_unit(fir_default_unit)).magnitude
1387
self.FixedInternalRate = self.ParameterDict[self.FixedInternalRate.Name] = floatParameter(
1388
"Fixed Internal Rate",
1389
DefaultValue=fir_default_val,
0 commit comments