diff --git a/src/geophires_x/Economics.py b/src/geophires_x/Economics.py index a660f081..ecc09f60 100644 --- a/src/geophires_x/Economics.py +++ b/src/geophires_x/Economics.py @@ -1383,7 +1383,7 @@ def __init__(self, model: Model): ) fir_default_unit = PercentUnit.PERCENT - 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 self.FixedInternalRate = self.ParameterDict[self.FixedInternalRate.Name] = floatParameter( "Fixed Internal Rate", DefaultValue=fir_default_val,