Skip to content

Commit

Permalink
Add FIXME
Browse files Browse the repository at this point in the history
  • Loading branch information
spxiwh committed Nov 28, 2024
1 parent c21f57a commit 7850921
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pycbc/waveform/utils_cupy.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ def apply_fseries_time_shift(htilde, dt, kmin=0, copy=True):
def fstimeshift(freqseries, phi, kmin, kmax):
# Please note that the CPU version has a number of optimizations with respect
# to this.
# FIXME: Convert to ElementwiseKernel and use kmin and max in that.
idx = xp.arange(len(freqseries))
phase_shift = xp.exp(phi * idx)
freqseries[:] = freqseries[:] * phase_shift
Expand Down

0 comments on commit 7850921

Please sign in to comment.