Skip to content

Commit

Permalink
..
Browse files Browse the repository at this point in the history
  • Loading branch information
dweindl committed Dec 15, 2023
1 parent 4b2a5cf commit 9027a86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/sdist/amici/de_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -2674,7 +2674,7 @@ def _get_unique_root(
return None

for root in roots:
if (root_found - root.get_val()).is_zero:
if sp.simplify(root_found - root.get_val()) == 0:
return root.get_id()

# create an event for a new root function
Expand Down

0 comments on commit 9027a86

Please sign in to comment.