Skip to content

Commit

Permalink
Minor bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
JordiManyer committed Jul 9, 2024
1 parent d281686 commit ebe2b9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Adaptivity.jl
Original file line number Diff line number Diff line change
Expand Up @@ -835,9 +835,9 @@ function get_redistributed_face_labeling(
# Communicate entity tags
# The difficulty here is that String and Vector{Int32} are not isbits types.
# We have to convert them to isbits types, then convert them back.
name_data, name_ptrs, entities_data, entities_ptrs = map(new_models) do new_model
name_data, name_ptrs, entities_data, entities_ptrs = map(old_models) do old_model
if !isnothing(old_model)
new_labels = get_face_labeling(new_model)
new_labels = get_face_labeling(old_model)
names = JaggedArray(map(collect,new_labels.tag_to_name))
entities = JaggedArray(new_labels.tag_to_entities)
return names.data, names.ptrs, entities.data, entities.ptrs
Expand Down

0 comments on commit ebe2b9f

Please sign in to comment.