Skip to content

Commit

Permalink
Merge pull request #487 from CQCL/bugfix/f-string-error
Browse files Browse the repository at this point in the history
Fix incorrect f-string
  • Loading branch information
yao-cqc authored Aug 20, 2024
2 parents 77979a4 + a3dbff6 commit 75d6b77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pytket/extensions/quantinuum/backends/quantinuum.py
Original file line number Diff line number Diff line change
Expand Up @@ -1394,8 +1394,8 @@ def cost(
if syntax_checker is not None and syntax_checker != syntax_checker_name:
raise ValueError(
f"Device {self._device_name}'s syntax checker is "
"{syntax_checker_name} but a different syntax checker "
"({syntax_checker}) was specified. You should omit the "
f"{syntax_checker_name} but a different syntax checker "
f"({syntax_checker}) was specified. You should omit the "
"`syntax_checker` argument to ensure the correct one is "
"used."
)
Expand Down

0 comments on commit 75d6b77

Please sign in to comment.