Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrikekre committed Jun 18, 2024
1 parent 999060c commit 14c5073
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Dofs/sparsity_pattern.jl
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ Add entries corresponding to DoF couplings within the cells.
function add_cell_entries!(
sp::AbstractSparsityPattern,
dh::DofHandler, ch::Union{ConstraintHandler, Nothing} = nothing;
keep_constrained::Bool, coupling::Union{AbstractMatrix{Bool}, Nothing},
keep_constrained::Bool = true, coupling::Union{AbstractMatrix{Bool}, Nothing} = nothing,
)
# Expand coupling from nfields × nfields to ndofs_per_cell × ndofs_per_cell
# TODO: Perhaps this can be done in the loop over SubDofHandlers instead.
Expand Down
2 changes: 1 addition & 1 deletion test/test_sparsity_patterns.jl
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ end
ps = make_patterns(dh)
for p in ps
add_cell_entries!(p, dh)
add_constraint_entries!(p, dh)
add_constraint_entries!(p, ch)
end
compare_patterns(ps...)

Expand Down

0 comments on commit 14c5073

Please sign in to comment.