Skip to content

Commit

Permalink
Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
sunqm committed Jan 25, 2024
1 parent 6aa5780 commit 2bbd772
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/test_int1e_grids.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
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')))
print('int1egrids a')

PTR_EXPCUTOFF = 0
PTR_COMMON_ORIG = 1
Expand Down Expand Up @@ -145,6 +145,7 @@
_cint.CINTlen_spinor.restype = ctypes.c_int


print('int1egrids b')
def test_int1e_grids_sph1(name, vref, dim, place):
intor = getattr(_cint, name)
intor.restype = ctypes.c_void_p
Expand Down

0 comments on commit 2bbd772

Please sign in to comment.