Skip to content

Commit

Permalink
Bug fix (changed ifft into irfft in transfer_density)
Browse files Browse the repository at this point in the history
  • Loading branch information
a-azzali committed Sep 11, 2023
1 parent b507ee7 commit 16ec9b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transfer.jl
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ function transfer_density(ρ_in, basis_in::PlaneWaveBasis{T},
ρ_freq_out[block_out,:] .= ρ_freq_in[block_in,:]
end

ρ_real_out = ifft(basis_out, ρ_freq_out)
ρ_real_out = irfft(basis_out, ρ_freq_out)
end

"""
Expand Down

0 comments on commit 16ec9b5

Please sign in to comment.