Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compatibility for numpy>1.20 #4

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion recombinator/block_bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def stationary_bootstrap(x: np.ndarray,
x = np.vstack((x, x))

# allocate array for the indices into the source array
indices = np.zeros((replications, sub_sample_length), dtype=np.int)
indices = np.zeros((replications, sub_sample_length), dtype=int)

# randomly initialize the beginning of the first block in each sub-sample
indices[:, 0] = np.random.randint(T, size=(replications,))
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
EMAIL = '[email protected]'
AUTHOR = 'Michael Christoph Nowotny'
REQUIRES_PYTHON = '>=3.6.0'
VERSION = "0.0.6.1"
VERSION = "0.0.6.2"

# What packages are required for this module to be executed?
REQUIRED = [
Expand Down Expand Up @@ -135,4 +135,4 @@ def run(self):
cmdclass={
'upload': UploadCommand,
},
)
)