Skip to content

Commit 420c8d3

Browse files
committed
unit test for wb97x
1 parent 56a3b0f commit 420c8d3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pyscf/dispersion/tests/test_d4.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@ def test_wb97x_d4_energy():
3333
mol = pyscf.M(atom='H 0 0 0; H 0 0 1')
3434
model = DFTD4Dispersion(mol, xc='WB97X')
3535
out = model.get_dispersion()
36-
print(out)
37-
#assert abs(out['energy'] - -2.21334459527e-05) < 1e-10
36+
assert abs(out['energy'] - -0.00027002) < 1e-10
3837

3938
def test_d4_gradients():
4039
mol = pyscf.M(atom='H 0 0 0; H 0 0 1')

0 commit comments

Comments
 (0)