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
1b2381d6
Commit
1b2381d6
authored
May 11, 2017
by
Pumpe, Daniel (dpumpe)
Browse files
update tests for DiagonalOperator
parent
ac276a2a
Pipeline
#12282
failed with stage
in 5 minutes
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
test/test_operators/test_diagonal_operator.py
View file @
1b2381d6
...
...
@@ -51,7 +51,7 @@ class DiagonalOperator_Tests(unittest.TestCase):
diag
=
Field
.
from_random
(
'normal'
,
domain
=
space
)
D
=
DiagonalOperator
(
space
,
diagonal
=
diag
,
bare
=
bare
,
copy
=
copy
)
tt
=
D
.
times
(
rand1
)
assert_equal
(
tt
.
domain
p
[
0
],
space
)
assert_equal
(
tt
.
domain
[
0
],
space
)
@
expand
(
product
(
spaces
,
[
True
,
False
],
[
True
,
False
]))
def
test_adjoint_times
(
self
,
space
,
bare
,
copy
):
...
...
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