Skip to content

Commit a28c9a7

Browse files
committed
Small bugfix
1 parent 658a71d commit a28c9a7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/FESpaces.jl

+3-2
Original file line numberDiff line numberDiff line change
@@ -935,9 +935,10 @@ function _add_constraints(model::GridapDistributed.DistributedDiscreteModel{Dc},
935935
map(partition(gids)) do indices
936936
@debug "[$(part_id(indices))]: l2g_cell_gids=$(local_to_global(indices))"
937937
@debug "[$(part_id(indices))]: l2o_owner=$(local_to_owner(indices))"
938-
end
938+
end
939+
trian = Triangulation(model)
939940
vector_type = GridapDistributed._find_vector_type(spaces_w_constraints,gids)
940-
GridapDistributed.DistributedSingleFieldFESpace(spaces_w_constraints,gids,vector_type)
941+
GridapDistributed.DistributedSingleFieldFESpace(spaces_w_constraints,gids,trian,vector_type)
941942
end
942943

943944
# Generates a new DistributedSingleFieldFESpace composed

0 commit comments

Comments
 (0)