Skip to content

Commit e93bdb8

Browse files
committed
Revert "expr/basic"
This reverts commit e592b5b.
1 parent 2e8c01b commit e93bdb8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

python/sdist/amici/import_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,7 @@ def cast_to_sym(
648648
elif isinstance(value, BooleanAtom):
649649
value = sp.Float(float(bool(value)))
650650

651-
if not isinstance(value, sp.Basic):
651+
if not isinstance(value, sp.Expr):
652652
raise TypeError(
653653
f"Couldn't cast {input_name} to sympy.Expr, was " f"{type(value)}"
654654
)

0 commit comments

Comments
 (0)