Skip to content

Commit 3c3fd15

Browse files
committed
fix indentation in numpy_random.get_state
1 parent 0debc3d commit 3c3fd15

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

mkl_random/interfaces/_numpy_random.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -92,16 +92,16 @@ def get_state(self, legacy=True):
9292
2. a bytes object holding content of Intel MKL's stream for the
9393
generator.
9494
95-
If `legacy` is False, a dictionary containing the state information is
96-
returned instead, with the following keys:
97-
1. `bit_generator`: a string specifying the basic psedo-random
98-
number generation algorithm. It should always be `MT19937` for
99-
this class.
100-
2. `state`: a dictionary guaranteed to contain the key
101-
`mkl_stream`, whose value is a bytes object holding content of
102-
Intel MKL's stream for the generator.
103-
104-
Compare with `numpy.random.get_state`.
95+
If `legacy` is False, a dictionary containing the state information
96+
is returned instead, with the following keys:
97+
1. `bit_generator`: a string specifying the basic psedo-random
98+
number generation algorithm. It should always be `MT19937`
99+
for this class.
100+
2. `state`: a dictionary guaranteed to contain the key
101+
`mkl_stream`, whose value is a bytes object holding content of
102+
Intel MKL's stream for the generator.
103+
104+
Compare with `numpy.random.get_state`.
105105
106106
*Compatibility Notice*
107107
As this class uses MKL in the backend, the state format is NOT

0 commit comments

Comments
 (0)