Skip to content

Commit

Permalink
Add missing brackets.
Browse files Browse the repository at this point in the history
  • Loading branch information
mkskeller committed Aug 8, 2024
1 parent ac31098 commit 94a839c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -6419,7 +6419,7 @@ def sort(self, n_threads=None, batcher=False, n_bits=None):
program.options.binary:
library.loopy_odd_even_merge_sort(self, n_threads=n_threads)
else:
if n_threads or 1 > 1:
if (n_threads or 1) > 1:
raise CompilerError('multi-threaded sorting only implemented '
'with Batcher\'s odd-even mergesort')
from . import sorting
Expand Down

0 comments on commit 94a839c

Please sign in to comment.