Skip to content

Commit

Permalink
clarify the tree mesh version
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewwinters5000 committed May 16, 2024
1 parent 377588d commit 9a1d999
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/solvers/dgsem_tree/dg.jl
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ end

@inline function get_inverse_jacobian(inverse_jacobian, mesh::TreeMesh,
indices...)
return inverse_jacobian[last(indices)]
element = last(indices)
return inverse_jacobian[element]
end

# Indicators used for shock-capturing and AMR
Expand Down

0 comments on commit 9a1d999

Please sign in to comment.