Skip to content

Commit fb407a2

Browse files
committed
grad=True
1 parent 3abc21a commit fb407a2

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
@@ -116,5 +116,5 @@ def test_d4s_gradient():
116116
)
117117

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

0 commit comments

Comments
 (0)