We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8825163 commit 00ac094Copy full SHA for 00ac094
1 file changed
multioptpy/PESAnalyzer/calc_irc_curvature.py
@@ -70,8 +70,8 @@ def calc_curvature_coupling(curvature_vector, hessian):
70
eigvecs = eigvecs[:, sorted_indices]
71
72
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)
+ print("Only considering positive eigenvalue modes for curvature coupling.")
+ # Mask out eigenvalues <= 1e-8 (positive eigenvalue components)
75
mask = eigvals > 1e-8
76
eigvecs_masked = eigvecs[:, mask]
77
curvature_coupling = np.dot(eigvecs_masked.T, curvature_vector)
0 commit comments