Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BUG: PR #227, Use npy_intp instead of long in mtrand.
This fixes a problem on 64 bit Windows where a 64 bit index is needed but long is only 32 bits. Regenerate mtrand.c
- Loading branch information
Showing
5 changed files
with
2,870 additions
and
2,448 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
#include "Python.h" | ||
#include "numpy/arrayobject.h" | ||
#include "randomkit.h" | ||
|
||
extern void | ||
init_by_array(rk_state *self, unsigned long init_key[], | ||
unsigned long key_length); | ||
|
||
npy_intp key_length); |
Oops, something went wrong.