diff --git a/python/sdist/amici/sbml_import.py b/python/sdist/amici/sbml_import.py index d37cc7b9c0..bb4a961aec 100644 --- a/python/sdist/amici/sbml_import.py +++ b/python/sdist/amici/sbml_import.py @@ -1388,7 +1388,7 @@ def _convert_event_assignment_parameter_targets_to_species(self): # targets of events. self.symbols[SymbolId.SPECIES][parameter_target] = { "name": parameter_def["name"], - "init": sp.Float(parameter_def["value"]), + "init": sp.sympify(parameter_def["value"]), # 'compartment': None, # can ignore for amounts "constant": False, "amount": True,