Skip to content

Commit

Permalink
Update src/qibolab/sweeper.py
Browse files Browse the repository at this point in the history
Co-authored-by: Alessandro Candido <[email protected]>
  • Loading branch information
stavros11 and alecandido authored Aug 30, 2024
1 parent b3e6b71 commit 4473779
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qibolab/sweeper.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def check_values(self):
object.__setattr__(self, "values", np.arange(*self.range))

if self.parameter is Parameter.amplitude and max(abs(self.values)) > 1:
raise ValueError("Amplitude sweeper cannot have values larger than 1.")
raise ValueError("Amplitude sweeper cannot have absolute values larger than 1.")

return self

Expand Down

0 comments on commit 4473779

Please sign in to comment.