Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sunqm committed Sep 28, 2023
1 parent a498d12 commit cfa46cb
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions testsuite/test_int2c2e.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
import ctypes
import numpy

_cint = ctypes.CDLL(os.path.abspath(os.path.join(__file__, '../../build/libcint.so')),
mode=os.RTLD_GLOBAL|os.RTLD_NOW)
_cint = ctypes.CDLL(os.path.abspath(os.path.join(__file__, '../../build/libcint.so')))

from pyscf import gto, lib

Expand Down Expand Up @@ -59,7 +58,7 @@ def run(intor, comp=1, suffix='_sph', thr=1e-7):
intor3 = 'c%s%s'%(intor,suffix)
intor2 = 'c%s%s'%(intor,suffix)
print(intor)
fn1 = getattr(_cint, intor)
fn1 = getattr(_cint, intor3)
#fn2 = getattr(_cint, intor4)
#cintopt = make_cintopt(mol._atm, mol._bas, mol._env, intor)
cintopt = lib.c_null_ptr()
Expand Down

0 comments on commit cfa46cb

Please sign in to comment.