Skip to content

Commit

Permalink
Fix typo in boolean expression
Browse files Browse the repository at this point in the history
  • Loading branch information
pavoljuhas committed Feb 14, 2024
1 parent ba46216 commit 5a8c13b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cirq-core/cirq/protocols/resolve_parameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def resolve_parameters(
is_parameterized = (
val._is_parameterized_() if hasattr(val, '_is_parameterized_') else NotImplemented
)
if is_parameterized is NotImplemented or not is_parameterized:
if is_parameterized is not NotImplemented and not is_parameterized:
return val

getter = getattr(val, '_resolve_parameters_', None)
Expand Down

0 comments on commit 5a8c13b

Please sign in to comment.