Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pycbc/fft/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def _check_fwd_args(invec, itype, outvec, otype, nbatch, size):
olen = len(outvec)
if nbatch < 1:
raise ValueError("nbatch must be >= 1")
if (nbatch > 1) and size is not None:
if (nbatch > 1) and size is None:
raise ValueError("When nbatch > 1, size cannot be 'None'")
if size is None:
size = ilen
Expand Down
Loading