Skip to content

Commit

Permalink
Restore mdf test
Browse files Browse the repository at this point in the history
  • Loading branch information
sunqm committed Sep 1, 2024
1 parent c7ca579 commit b61f69a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyscf/pbc/df/test/test_mdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,8 @@ def test_get_eri_gamma_1(self):
odf.mesh = [11]*3
eri0000 = odf.get_eri()
self.assertTrue(eri0000.dtype == numpy.double)
self.assertAlmostEqual(eri0000.real.sum(), 27.27280884567336, 7)
self.assertAlmostEqual(lib.fp(eri0000), 1.0613205275015447, 8)
self.assertAlmostEqual(eri0000.real.sum()- 27.27275005755319, 7)
self.assertAlmostEqual(lib.fp(eri0000)- 1.0613327424886785, 8)

eri1111 = kmdf1.get_eri((kpts[0],kpts[0],kpts[0],kpts[0]))
self.assertTrue(eri1111.dtype == numpy.double)
Expand Down

0 comments on commit b61f69a

Please sign in to comment.