Skip to content

Commit

Permalink
fix pep8
Browse files Browse the repository at this point in the history
  • Loading branch information
BoxiLi committed Dec 9, 2022
1 parent ca67bef commit e23c0d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qutip_qip/device/processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -1207,7 +1207,7 @@ def run_state(
options["max_step"] = half_gate_time
else:
options = kwargs.get("options", qutip.Options())
if options.max_step == 0.:
if options.max_step == 0.0:
options.max_step = half_gate_time
kwargs["options"] = options
# choose solver:
Expand Down

0 comments on commit e23c0d7

Please sign in to comment.