Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Hendrik Ranocha <[email protected]>
  • Loading branch information
JoshuaLampert and ranocha authored Dec 11, 2024
1 parent 2d50833 commit 209cc76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/equations/equations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,7 @@ function solve_system_matrix!(dv, system_matrix, rhs,
SerreGreenNaghdiEquations1D},
D1, cache, ::BoundaryConditionReflecting)
scale_by_mass_matrix!(rhs, D1)
solve_system_matrix!(dv, system_matrix, (@view rhs[2:(end - 1)]), equations, D1, cache)
solve_system_matrix!(dv, system_matrix, (@view rhs[(begin + 1):(end - 1)]), equations, D1, cache)
end

function solve_system_matrix!(dv, system_matrix, rhs,
Expand Down

0 comments on commit 209cc76

Please sign in to comment.