Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
On Thursday, 7th July from 1 to 3 pm there will be a maintenance with a short downtime of GitLab.
Open sidebar
ift
NIFTy
Commits
598158ec
Commit
598158ec
authored
Sep 24, 2018
by
Philipp Frank
Browse files
fix tests
parent
5b713064
Changes
1
Show whitespace changes
Inline
Side-by-side
test/test_operators/test_adjoint.py
View file @
598158ec
...
...
@@ -73,8 +73,7 @@ class Consistency_Tests(unittest.TestCase):
def
testSlopeOperator
(
self
,
args
,
dtype
):
tmp
=
ift
.
ExpTransform
(
ift
.
PowerSpace
(
args
[
0
]),
args
[
1
],
args
[
2
])
tgt
=
tmp
.
domain
[
0
]
sig
=
np
.
array
([
0.3
,
0.13
])
op
=
ift
.
SlopeOperator
(
tgt
,
sig
)
op
=
ift
.
SlopeOperator
(
tgt
)
ift
.
extra
.
consistency_check
(
op
,
dtype
,
dtype
)
@
expand
(
product
(
_h_spaces
+
_p_spaces
+
_pow_spaces
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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