Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Art Pelling <a.pelling@tu-berlin.de>
  • Loading branch information
sdrave and artpelling committed Oct 18, 2022
1 parent a1d1e54 commit c887cd8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pymor/tools/random.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
To ensure reproducible execution of pyMOR code without having to pass around
a random number generator object everywhere, pyMOR manages a global |RNG|
object. This object is initialized automatically from a configurable |default|
random seed during startup, and can be obtained by calling :func:`get_rng`.
random seed during startup and can be obtained by calling :func:`get_rng`.
The returned object is a subclass of :class:`numpy.random.Generator` and
inherits all its sampling methods.
Expand Down Expand Up @@ -56,7 +56,7 @@ def new_rng(seed_seq=42):
seed_seq
Entropy to seed the generator with. Either a :class:`~numpy.random.SeedSequence`
or an `int` or list of `ints` from which the :class:`~numpy.random.SeedSequence`
will be created. If `None` entropy is sampled from the operating system.
will be created. If `None`, entropy is sampled from the operating system.
Returns
-------
Expand Down

0 comments on commit c887cd8

Please sign in to comment.