Skip to content

Commit

Permalink
Merge b978abb into 49a930b
Browse files Browse the repository at this point in the history
  • Loading branch information
terrorfisch committed Mar 3, 2021
2 parents 49a930b + b978abb commit 06e18eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qupulse/pulses/parameters.py
Expand Up @@ -187,7 +187,7 @@ def __init__(self, relation: Union[str, sympy.Expr]):
self._expression = sympy.Eq(*sympy.sympify(relation.split('==')))
else:
self._expression = sympy.sympify(relation)
if not isinstance(self._expression, sympy.boolalg.Boolean):
if not isinstance(self._expression, sympy.logic.boolalg.Boolean):
raise ValueError('Constraint is not boolean')
self._expression = Expression(self._expression)

Expand Down

0 comments on commit 06e18eb

Please sign in to comment.