Skip to content

Commit

Permalink
Logic bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
sserita committed Sep 12, 2024
1 parent e670aeb commit f93fd3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pygsti/optimize/customlm.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#Make sure SIGINT will generate a KeyboardInterrupt (even if we're launched in the background)
#This may be problematic for multithreaded parallelism above pyGSTi, e.g. Dask,
#so this can be turned off by setting the PYGSTI_NO_CUSTOMLM_SIGINT environment variable
if 'PYGSTI_NO_CUSTOMLM_SIGINT' in _os.environ:
if 'PYGSTI_NO_CUSTOMLM_SIGINT' not in _os.environ:
_signal.signal(_signal.SIGINT, _signal.default_int_handler)

#constants
Expand Down

0 comments on commit f93fd3c

Please sign in to comment.