Skip to content

Commit d0d867d

Browse files
committed
CLN/BUG: Remove unised variable and correct fn
Correct external C function name Remove unused constant
1 parent d3fb85b commit d0d867d

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

randomstate/distributions.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ extern void random_gauss_zig_float_fill(aug_state *state, npy_intp count, float
164164

165165
extern void random_gauss_zig_double_fill(aug_state *state, npy_intp count, double *out);
166166

167-
extern double random_standard_exponential_zig(aug_state *state);
167+
extern double random_standard_exponential_zig_double(aug_state *state);
168168

169169
extern void random_standard_exponential_zig_double_fill(aug_state *state, npy_intp count, double *out);
170170

randomstate/randomstate.pyx

+1-2
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ cdef extern from "distributions.h":
8888
cdef double random_gauss_zig(aug_state* state) nogil
8989
cdef double random_gauss_zig_julia(aug_state* state) nogil
9090
cdef double random_standard_exponential(aug_state* state) nogil
91-
cdef double random_standard_exponential_ziggurat(aug_state* state) nogil
91+
cdef double random_standard_exponential_zig_double(aug_state* state) nogil
9292
cdef double random_standard_cauchy(aug_state* state) nogil
9393

9494
cdef double random_exponential(aug_state *state, double scale) nogil
@@ -204,7 +204,6 @@ cdef class RandomState:
204204
cdef aug_state rng_state
205205
cdef object lock
206206
poisson_lam_max = POISSON_LAM_MAX
207-
__MAXSIZE = <uint64_t>sys.maxsize
208207
cdef object __seed
209208
cdef object __stream
210209
cdef object __version

0 commit comments

Comments
 (0)