Skip to content

Commit

Permalink
Update _linalg_tensor.py
Browse files Browse the repository at this point in the history
  • Loading branch information
adtzlr committed Jun 6, 2024
1 parent ca0e5f6 commit 3beb814
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/tensortrax/math/linalg/_linalg_tensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ def eigvalsh(A, eps=np.sqrt(np.finfo(float).eps)):
"Eigenvalues of a symmetric Tensor."

if isinstance(A, Tensor):

A[0, 0] += eps
A[1, 1] -= eps

Expand Down Expand Up @@ -119,7 +118,6 @@ def eigh(A, eps=np.sqrt(np.finfo(float).eps)):
"Eigenvalues and -bases of a symmetric Tensor (only first derivative)."

if isinstance(A, Tensor):

A[0, 0] += eps
A[1, 1] -= eps

Expand Down

0 comments on commit 3beb814

Please sign in to comment.