Skip to content
This repository was archived by the owner on May 5, 2026. It is now read-only.

Commit 0736a20

Browse files
authored
Add files via upload
- fix bug
1 parent 35fdd45 commit 0736a20

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

multioptpy/optimization.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ def check_negative_eigenvalues(self, geom_num_list, hessian):
444444
proj_hessian = Calculationtools().project_out_hess_tr_and_rot_for_coord(hessian, geom_num_list, geom_num_list, display_eigval=False)
445445
if proj_hessian is not None:
446446
eigvals = np.linalg.eigvalsh(proj_hessian)
447-
if np.any(eigvals < 0):
447+
if np.any(eigvals < -1e-10):
448448
print("Notice: Negative eigenvalues detected.")
449449
return True
450450
return False

0 commit comments

Comments
 (0)