Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/common_operators/homogeneousdata_operator.jl
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ function apply_penalties!(A, b, sol, O::HomogeneousData{UT}, SC::SolverConfigura
penalty = O.parameters[:penalty]
AE = A.entries
for dof in bdofs
AE[dof, dof] = penalty
rawupdateindex!(AE, (a, b) -> b, penalty, dof, dof, 1)
end
flush!(AE)
end
Expand Down
2 changes: 1 addition & 1 deletion src/common_operators/interpolateboundarydata_operator.jl
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ function apply_penalties!(A, b, sol, O::InterpolateBoundaryData{UT}, SC::SolverC
if assemble_matrix
AE = A.entries
for dof in bdofs
AE[dof, dof] = penalty
rawupdateindex!(AE, (a, b) -> b, penalty, dof, dof, 1)
end
flush!(AE)
end
Expand Down
Loading