Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sunqm committed Oct 16, 2023
1 parent a0daaa8 commit e548e9f
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pyscf/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
----------
There are two ways to access the documentation: the docstrings come with
the code, and an online program reference, available from
http://www.sunqm.net/pyscf/index.html
http://www.pyscf.org
We recommend the enhanced Python interpreter `IPython <http://ipython.org>`_
and the web-based Python IDE `Ipython notebook <http://ipython.org/notebook.html>`_
Expand Down
1 change: 0 additions & 1 deletion pyscf/gto/pp_int.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ def get_gth_pp(mol):

intors = ('int3c2e', 'int3c1e', 'int3c1e_r2_origk',
'int3c1e_r4_origk', 'int3c1e_r6_origk')
fake_cells = {}
for cn in range(1, 5):
fakemol = pp_int.fake_cell_vloc(mol, cn)
if fakemol.nbas > 0:
Expand Down
4 changes: 2 additions & 2 deletions pyscf/pbc/scf/test/test_hf.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ def test_ghf_exx_ewald(self):
def test_rhf_0d(self):
cell = pbcgto.Cell()
cell.build(unit = 'B',
a = np.eye(3)*5,
a = numpy.eye(3)*5,
atom = '''He 2 2 2; He 2 2 3''',
dimension = 0,
verbose = 0,
Expand Down Expand Up @@ -292,7 +292,7 @@ def test_rhf_0d(self):
0.32235865 2 2.25670239 -0.39677748
0.93894690
''')}
cell.a = np.eye(3)
cell.a = numpy.eye(3)
cell.dimension = 0
cell.build()
mf = pbcscf.RHF(cell)
Expand Down
1 change: 0 additions & 1 deletion pyscf/scf/_vhf.py
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,6 @@ def incore(eri, dms, hermi=0, with_j=True, with_k=True):
# direct_mapdm
def direct(dms, atm, bas, env, vhfopt=None, hermi=0, cart=False,
with_j=True, with_k=True, out=None, optimize_sr=False):
omega = env[gto.PTR_RANGE_OMEGA]
dms = numpy.asarray(dms, order='C', dtype=numpy.double)
dms_shape = dms.shape
nao = dms_shape[-1]
Expand Down

0 comments on commit e548e9f

Please sign in to comment.