Skip to content

Commit

Permalink
Minor bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
JordiManyer committed Oct 13, 2024
1 parent 1e09e3f commit 293dccd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Adaptivity.jl
Original file line number Diff line number Diff line change
Expand Up @@ -996,7 +996,9 @@ function refine_local_models(

# Filter out local models
filtered_fmodels = map(fmodels,f_own_or_ghost_ids) do fmodel,f_own_or_ghost_ids
model = DiscreteModelPortion(get_model(fmodel),f_own_or_ghost_ids).model
model = UnstructuredDiscreteModel( # Necessary to keep the same type
DiscreteModelPortion(get_model(fmodel),f_own_or_ghost_ids)
)
parent = get_parent(fmodel)

_glue = get_adaptivity_glue(fmodel)
Expand Down

0 comments on commit 293dccd

Please sign in to comment.