Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ift
NIFTy
Commits
f0dfc570
Commit
f0dfc570
authored
Jun 12, 2020
by
Reimar Leike
Browse files
fix seed
parent
0f7d01b4
Pipeline
#76505
passed with stages
in 12 minutes and 9 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
test/test_operators/test_fisher_metric.py
View file @
f0dfc570
...
...
@@ -30,6 +30,7 @@ field = list2fixture([ift.from_random(sp, 'normal') for sp in spaces] +
[
ift
.
from_random
(
sp
,
'normal'
,
dtype
=
np
.
complex128
)
for
sp
in
spaces
])
Nsamp
=
2000
np
.
random
.
seed
(
42
)
def
_to_array
(
d
):
if
isinstance
(
d
,
np
.
ndarray
):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment