Skip to content

Commit 9cb5e4f

Browse files
giordanoavik-pal
andcommitted
Fix in-place plan
Co-authored-by: Avik Pal <avikpal@mit.edu>
1 parent a2ae64d commit 9cb5e4f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ext/ReactantAbstractFFTsExt.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ for op in (:rfft, :fft, :ifft)
5555
plan_f! = Symbol("plan_", op, "!")
5656
@eval struct $(plan_name!){T} <: AbstractFFTs.Plan{T} end
5757
@eval AbstractFFTs.$(plan_f!)(::Reactant.TracedRArray{T}) where {T} =
58-
$(plan_name){T}()
58+
$(plan_name!){T}()
5959
@eval Base.:*(::$(plan_name!){T}, x::Reactant.TracedRArray{T}) where {T} =
6060
x .= AbstractFFTs.$(op)(x)
6161
end

0 commit comments

Comments
 (0)