Skip to content

Commit 0947dae

Browse files
committed
fix: wrong return sig for 'generate_fft'
1 parent 91d5f91 commit 0947dae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fpfind/lib/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ def generate_fft(
194194
if len(arr) == 0:
195195
raise ValueError("Array is empty!")
196196
bin_arr = np.bincount(np.int32((arr // time_res) % num_bins), minlength=num_bins)
197-
return scipy.fft.rfft(bin_arr) # type: ignore (dispatchable)
197+
return scipy.fft.rfft(bin_arr), num_bins # type: ignore (dispatchable)
198198

199199

200200
def get_xcorr(

0 commit comments

Comments
 (0)