Skip to content

Commit

Permalink
Remove logging of clipping in eigenvalue calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
knikolaou committed May 14, 2024
1 parent e6e8d66 commit 8274786
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion papyrus/utils/matrix_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def compute_hermitian_eigensystem(
eigenvalues, eigenvectors = np.linalg.eigh(matrix)

if clip:
logger.warning("Eigenvalues are being clipped to avoid negative values.")
# logger.warning("Eigenvalues are being clipped to avoid negative values.")
eigenvalues = np.clip(eigenvalues, 1e-14, None)

if normalize:
Expand Down

0 comments on commit 8274786

Please sign in to comment.