Skip to content

Commit

Permalink
fix bit operation
Browse files Browse the repository at this point in the history
  • Loading branch information
nulinspiratie committed Nov 8, 2024
1 parent 540d852 commit 6bebe88
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ def update_parameters(self, parameters: Dict[str, Dict[str, Any]]) -> ModifiedFl
flags = super().update_parameters(parameters)
# Update program if any sweep axes have been modified
if flags & ModifiedFlags.PARAMETERS_MODIFIED:
flags &= ModifiedFlags.PROGRAM_MODIFIED
flags |= ModifiedFlags.PROGRAM_MODIFIED

params = parameters[self.component_id]
if self.result_type != params["result-type"]:
Expand Down

0 comments on commit 6bebe88

Please sign in to comment.