Skip to content

Commit

Permalink
Fix kwargs passing
Browse files Browse the repository at this point in the history
  • Loading branch information
luraess committed Oct 23, 2023
1 parent bb2a5d1 commit 97f5c8f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/BoundaryConditions/BoundaryConditions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ end
@inline function apply_boundary_conditions!(::Val{S}, ::Val{D},
arch::Architecture,
grid::CartesianGrid,
batch::BoundaryConditionsBatch) where {S,D}
batch::BoundaryConditionsBatch; kwargs...) where {S,D}
apply_boundary_conditions!(Val(S), Val(D), arch, grid, batch.fields, batch.conditions)
end

apply_boundary_conditions!(side, val, arch, grid, ::Nothing) = nothing
apply_boundary_conditions!(side, val, arch, grid, fields, ::Nothing) = nothing
apply_boundary_conditions!(side, val, arch, grid, ::Nothing; kwargs...) = nothing
apply_boundary_conditions!(side, val, arch, grid, fields, ::Nothing; kwargs...) = nothing

end

0 comments on commit 97f5c8f

Please sign in to comment.