Skip to content

Commit

Permalink
Update model.py
Browse files Browse the repository at this point in the history
  • Loading branch information
oberbichler authored Apr 25, 2022
1 parent f0230d7 commit b82c6ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nfem/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ def compute_linear_k(self) -> Matrix:
def compute_local(element: Element) -> Vector:
return element.compute_linear_k()

k = assembler.assemble_vector(compute_local)
k = assembler.assemble_matrix(compute_local)

return k[:n, :n]

Expand Down

0 comments on commit b82c6ac

Please sign in to comment.