Skip to content

Commit

Permalink
add missing type parameter in fft poission solve
Browse files Browse the repository at this point in the history
  • Loading branch information
adamslc committed Mar 20, 2024
1 parent ace40c3 commit 0256e0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/poisson.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ struct PoissonSolveFFT{T,D,G,P,F<:AbstractField} <: AbstractSimulationStep

fft_plan::P

function PoissonSolveFFT(rho::F, phi::F) where {T,D,G,F<:AbstractField{T,D,G}}
function PoissonSolveFFT(rho::F, phi::F) where {T,N,D,G,F<:AbstractField{T,N,D,G}}
# This restriction could possibly be relaxed to just require compatible grids...
@assert rho.grid === phi.grid
# Currently only supports periodic boundary conditions...
Expand Down

0 comments on commit 0256e0c

Please sign in to comment.