Skip to content

Commit 3abc21a

Browse files
committed
d4s gradient
1 parent 59c0717 commit 3abc21a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyscf/dispersion/tests/test_d4.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,4 +117,4 @@ def test_d4s_gradient():
117117

118118
model = DFTD4Dispersion(mol, xc="BLYP", version="d4s")
119119
out = model.get_dispersion()
120-
assert np.linalg.norm(out['energy'] - ref) < 1.0e-7
120+
assert np.linalg.norm(out['gradient'] - ref) < 1.0e-7

0 commit comments

Comments
 (0)