Skip to content

Commit 00ac094

Browse files
authored
Add files via upload
1 parent 8825163 commit 00ac094

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

multioptpy/PESAnalyzer/calc_irc_curvature.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ def calc_curvature_coupling(curvature_vector, hessian):
7070
eigvecs = eigvecs[:, sorted_indices]
7171

7272
curvature_vector = curvature_vector.reshape(-1, 1) # Ensure it's a column vector
73-
print("Only considering non-zero modes for curvature coupling.")
74-
# Mask out eigenvalues <= 1e-8 (non-zero eigenvalue components)
73+
print("Only considering positive eigenvalue modes for curvature coupling.")
74+
# Mask out eigenvalues <= 1e-8 (positive eigenvalue components)
7575
mask = eigvals > 1e-8
7676
eigvecs_masked = eigvecs[:, mask]
7777
curvature_coupling = np.dot(eigvecs_masked.T, curvature_vector)

0 commit comments

Comments
 (0)