Commit c876e993 authored by Martin Reinecke's avatar Martin Reinecke
Browse files

Merge branch 'NIFTy_6' into 'new_random'

# Conflicts:
#   nifty6/__init__.py
parents 71349a7e 604044cd
Pipeline #71262 canceled with stages
in 1 minute and 41 seconds
...@@ -147,6 +147,10 @@ def pop_sseq(): ...@@ -147,6 +147,10 @@ def pop_sseq():
_rng.pop() _rng.pop()
def seed(seed):
np.random.seed(seed)
class Random(object): class Random(object):
@staticmethod @staticmethod
def pm1(dtype, shape): def pm1(dtype, shape):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment