Skip to content

Commit

Permalink
Merge pull request #92 from StatikTUM/fix/print-eigenvector
Browse files Browse the repository at this point in the history
Fix print closest eigenvector
  • Loading branch information
oberbichler authored Apr 22, 2022
2 parents 4b13f1d + 8ec03a6 commit f0230d7
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 @@ -775,7 +775,7 @@ def solve_eigenvalues(self, assembler: Assembler = None) -> None:
print(
f'Closest eigenvalue * lambda: {eigvals[idx] * self.load_factor}')
if len(eigvecs[idx]) < 10:
print('Closest eigenvector: {eigvecs[idx]}')
print(f'Closest eigenvector: {eigvecs[idx]}')

self.first_eigenvalue = eigvals[idx]

Expand Down

0 comments on commit f0230d7

Please sign in to comment.