Skip to content

Commit

Permalink
fix variable
Browse files Browse the repository at this point in the history
  • Loading branch information
simonbyrne committed Jul 2, 2022
1 parent 6401776 commit f1a01ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Operators/spectralelement.jl
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ Base.@propagate_inbounds function get_local_geometry(
else
v = slabidx.v
end
Spaces.local_geometry_data(local_geometry)[i, j, nothing, v, h]
Spaces.local_geometry_data(space)[i, j, nothing, v, h]
end
Base.@propagate_inbounds function get_local_geometry(
space::Spaces.AbstractSpectralElementSpace,
Expand All @@ -329,7 +329,7 @@ Base.@propagate_inbounds function get_local_geometry(
else
v = slabidx.v
end
Spaces.local_geometry_data(local_geometry)[i, j, nothing, v, h]
Spaces.local_geometry_data(space)[i, j, nothing, v, h]
end

Base.@propagate_inbounds function set_node!(
Expand Down

0 comments on commit f1a01ee

Please sign in to comment.