Skip to content

Commit af8989c

Browse files
committed
v1.1.3 patch for numpy<2.0
1 parent d1617e0 commit af8989c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

qmctoolscl/rand_funcs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ def dnb2_nested_uniform_scramble(
200200
_xb_new = xb[l_x,i,j]<<t_delta
201201
_xb = _xb_new
202202
node = root_nodes[l,j]
203-
t = tmax_new
203+
t = int(tmax_new)
204204
shift = np.uint64(0)
205205
while t>0:
206206
b = int(_xb>>np.uint64(t-1))&1 # leading bit of _xb

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
setuptools.setup(
2525
name = "qmctoolscl",
26-
version = "1.1.2",
26+
version = "1.1.3",
2727
author="Aleksei G Sorokin",
2828
author_email="asorokin@hawk.iit.edu",
2929
install_requires = [

0 commit comments

Comments
 (0)