Skip to content

Commit

Permalink
Merge branch 'main' into subcell-limiting-bounds-order-dict
Browse files Browse the repository at this point in the history
  • Loading branch information
bennibolm authored Oct 4, 2023
2 parents 8abdfd9 + 7ba1f2e commit 930cb43
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/time_integration/methods_SSP.jl
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,9 @@ function Base.resize!(integrator::SimpleIntegratorSSP, new_size)
resize!(integrator.r0, new_size)

# Resize container
resize!(integrator.p, new_size)
# new_size = n_variables * n_nodes^n_dims * n_elements
n_elements = nelements(integrator.p.solver, integrator.p.cache)
resize!(integrator.p, n_elements)
end

function Base.resize!(semi::AbstractSemidiscretization, new_size)
Expand Down

0 comments on commit 930cb43

Please sign in to comment.