Skip to content

Commit 7c4a5ed

Browse files
committed
Update get_state docstrings and add logseries to interfaces README
1 parent ed16d75 commit 7c4a5ed

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

mkl_random/interfaces/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ This interface is a drop-in replacement for the legacy portion of the [`numpy.ra
1515

1616
* permutations: `shuffle` and `permutation`
1717

18-
* distributions: `beta`, `binomial`, `chisquare`, `dirichlet`, `exponential`, `f`, `gamma`, `geometric`, `gumbel`, `hypergeometric`, `laplace`, `logistic`, `lognormal`, `multinomial`, `multivariate_normal`, `negative_binomial`, `noncentral_chisquare`, `noncentral_f`, `normal`, `pareto`, `poisson`, `power`, `rayleigh`, `standard_cauchy`, `standard_exponential`, `standard_gamma`, `standard_normal`, `standard_t`, `triangular`, `uniform`, `vonmises`, `wald`, `weibull`, and `zipf`.
18+
* distributions: `beta`, `binomial`, `chisquare`, `dirichlet`, `exponential`, `f`, `gamma`, `geometric`, `gumbel`, `hypergeometric`, `laplace`, `logistic`, `lognormal`, `logseries`, `multinomial`, `multivariate_normal`, `negative_binomial`, `noncentral_chisquare`, `noncentral_f`, `normal`, `pareto`, `poisson`, `power`, `rayleigh`, `standard_cauchy`, `standard_exponential`, `standard_gamma`, `standard_normal`, `standard_t`, `triangular`, `uniform`, `vonmises`, `wald`, `weibull`, and `zipf`.

mkl_random/interfaces/_numpy_random.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def seed(self, seed=None):
7171

7272
def get_state(self, legacy=True):
7373
"""
74-
get_state(legacy)
74+
get_state(legacy=True)
7575
7676
Get the internal state of the generator.
7777

mkl_random/mklrand.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1107,7 +1107,7 @@ cdef class _MKLRandomState:
11071107

11081108
def get_state(self, legacy=True):
11091109
"""
1110-
get_state()
1110+
get_state(legacy=True)
11111111
11121112
Return a tuple representing the internal state of the generator.
11131113

0 commit comments

Comments
 (0)