File tree 1 file changed +3
-3
lines changed 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -3493,9 +3493,9 @@ cdef class RandomState:
3493
3493
cdef int64_t lngood , lnbad , lnsample
3494
3494
3495
3495
# This cast to long is required to ensure that the values are inbounds
3496
- ongood = < np .ndarray > np .PyArray_FROM_OTF (ngood , np .NPY_LONG , np .NPY_ALIGNED )
3497
- onbad = < np .ndarray > np .PyArray_FROM_OTF (nbad , np .NPY_LONG , np .NPY_ALIGNED )
3498
- onsample = < np .ndarray > np .PyArray_FROM_OTF (nsample , np .NPY_LONG , np .NPY_ALIGNED )
3496
+ ongood = < np .ndarray > np .PyArray_FROM_OTF (ngood , np .NPY_INT64 , np .NPY_ALIGNED )
3497
+ onbad = < np .ndarray > np .PyArray_FROM_OTF (nbad , np .NPY_INT64 , np .NPY_ALIGNED )
3498
+ onsample = < np .ndarray > np .PyArray_FROM_OTF (nsample , np .NPY_INT64 , np .NPY_ALIGNED )
3499
3499
3500
3500
if np .PyArray_NDIM (ongood ) == np .PyArray_NDIM (onbad ) == np .PyArray_NDIM (onsample ) == 0 :
3501
3501
You can’t perform that action at this time.
0 commit comments