Skip to content

Commit

Permalink
sp.Float
Browse files Browse the repository at this point in the history
  • Loading branch information
dweindl committed Aug 16, 2023
1 parent bd612e6 commit 5de5549
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/sdist/amici/sbml_import.py
Original file line number Diff line number Diff line change
Expand Up @@ -1382,7 +1382,7 @@ def _convert_event_assignment_parameter_targets_to_species(self):
ia_init = self._get_element_initial_assignment(par.getId())
parameter_def = {
"name": par.getName() if par.isSetName() else par.getId(),
"value": par.getValue() if ia_init is None else ia_init,
"value": sp.Float(par.getValue()) if ia_init is None else ia_init,
}
# Fixed parameters are added as species such that they can be
# targets of events.
Expand Down

0 comments on commit 5de5549

Please sign in to comment.