Skip to content

Commit

Permalink
Adjust threshold in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sunqm committed Nov 13, 2024
1 parent c4a033d commit d7d2c22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyscf/msdft/tests/test_noci.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def test_hf_det_ovlp():
h, s = noci.hf_det_ovlp(ms_ks, [mf0, mf1])
ref = np.array([[-93.6133596391479, 10.03601933903856],
[10.03601933903856, -93.43781863677702]])
assert abs(h/ref - 1.).max() < 1e-7
assert abs(h/ref - 1.).max() < 1e-6

def test_noci_e_tot():
mol = gto.M(atom='''
Expand Down

0 comments on commit d7d2c22

Please sign in to comment.