Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
devmotion authored Aug 9, 2023
1 parent 42f1652 commit 9f90dc0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/definitions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -724,9 +724,9 @@ function adjoint_mul(p::Plan{T}, x::AbstractArray, ::IRFFTAdjointStyle) where {T
z = map(y, CartesianIndices(y)) do yj, j
i = j[halfdim]
zj = if i == 1 || (i == n && 2 * (i - 1) == d)
zj / N
yj / N
else
2 * zj / N
2 * yj / N
end
return zj
end
Expand Down

0 comments on commit 9f90dc0

Please sign in to comment.