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
861827f7
Commit
861827f7
authored
Jun 04, 2019
by
Martin Reinecke
Browse files
try to fix DiagonalOperator
parent
a439a47c
Pipeline
#50452
passed with stages
in 7 minutes and 49 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
nifty5/operators/diagonal_operator.py
View file @
861827f7
...
...
@@ -105,7 +105,7 @@ class DiagonalOperator(EndomorphicOperator):
res
.
_spaces
=
None
else
:
res
.
_spaces
=
tuple
(
set
(
self
.
_spaces
)
|
set
(
spc
))
res
.
_ldiag
=
ldiag
res
.
_ldiag
=
np
.
array
(
ldiag
)
res
.
_fill_rest
()
return
res
...
...
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