Skip to content

Commit a6cf4b2

Browse files
Typo in apply! doc
1 parent 9134b54 commit a6cf4b2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Dofs/ConstraintHandler.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -590,7 +590,7 @@ conditions specified in `ch` such that `K \\ rhs` gives the expected solution.
590590
!!! note
591591
`apply!(K, rhs, ch)` essentially calculates
592592
```julia
593-
rhs[free] = rhs[free] - K[constrained, constrained] * a[constrained]
593+
rhs[free] = rhs[free] - K[free, constrained] * a[constrained]
594594
```
595595
where `a[constrained]` are the inhomogeneities. Consequently, the sign of `rhs` matters
596596
(in contrast with `apply_zero!`).

0 commit comments

Comments
 (0)