Skip to content

Commit

Permalink
Merge pull request #45 from gridap/consistent_conformity_logic_in_add…
Browse files Browse the repository at this point in the history
…_constraints_function

Fix in _add_constraints()
  • Loading branch information
amartinhuertas authored Oct 12, 2023
2 parents 2de20a1 + 35deee4 commit a1e1f1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FESpaces.jl
Original file line number Diff line number Diff line change
Expand Up @@ -775,7 +775,7 @@ function _add_constraints(model::GridapDistributed.DistributedDiscreteModel{Dc},
spaces_wo_constraints;
conformity=nothing,
kwargs...) where {Dc}
if (conformity!=nothing && conformity!=:L2)
if (conformity==nothing || conformity!=:L2)
ref_constraints = _build_constraint_coefficients_matrix_in_ref_space(Dc, reffe)

face_subface_ldof_to_cell_ldof = Vector{Vector{Vector{Vector{Int32}}}}(undef, Dc-1)
Expand Down

0 comments on commit a1e1f1c

Please sign in to comment.