Mercurial > repos > public > sbplib_julia
changeset 588:0c411d865d66 feature/boundary_ops
Fix bug.
author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
---|---|
date | Wed, 02 Dec 2020 13:33:54 +0100 |
parents | 6e02c497ccd5 |
children | 419c75528a13 |
files | src/SbpOperators/boundaryops/boundary_restriction.jl |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/SbpOperators/boundaryops/boundary_restriction.jl Wed Dec 02 13:20:05 2020 +0100 +++ b/src/SbpOperators/boundaryops/boundary_restriction.jl Wed Dec 02 13:33:54 2020 +0100 @@ -16,7 +16,7 @@ e = BoundaryRestriction(restrict(grid, d), closureStencil, r) # Create 1D IdentityMappings for each coordinate direction - one_d_grids = restrict.(Ref(grid), Tuple(1:D)) + one_d_grids = restrict.(Ref(grid), Tuple(1:Dim)) Is = IdentityMapping{T}.(size.(one_d_grids)) # Formulate the correct outer product sequence of the identity mappings and