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
8d513a11
Commit
8d513a11
authored
Apr 09, 2021
by
Philipp Arras
Browse files
Cosmetics
parent
392d8890
Pipeline
#97933
passed with stages
in 11 minutes and 51 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
test/test_operators/test_fisher_metric.py
View file @
8d513a11
...
...
@@ -61,7 +61,7 @@ def test_complex2real():
assert
np
.
all
((
f
==
op
(
op
.
adjoint_times
(
f
))).
val
)
def
energy_tester
(
pos
,
get_noisy_data
,
energy_initializer
,
assume_diagonal
=
Non
e
):
def
energy_tester
(
pos
,
get_noisy_data
,
energy_initializer
,
assume_diagonal
=
Fals
e
):
if
isinstance
(
pos
,
ift
.
Field
):
if
np
.
issubdtype
(
pos
.
dtype
,
np
.
complexfloating
):
op
=
_complex2real
(
pos
.
domain
)
...
...
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