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
Open sidebar
ift
NIFTy
Commits
61147542
Commit
61147542
authored
Feb 05, 2019
by
Martin Reinecke
Browse files
fix
parent
9989d476
Pipeline
#43307
passed with stages
in 8 minutes and 1 second
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
nifty5/sugar.py
View file @
61147542
...
...
@@ -363,7 +363,7 @@ def makeOp(input):
return
DiagonalOperator
(
input
)
if
isinstance
(
input
,
MultiField
):
return
BlockDiagonalOperator
(
input
.
domain
,
{
key
:
makeOp
(
val
)
for
key
,
val
in
enumerate
(
input
)})
input
.
domain
,
{
key
:
makeOp
(
val
)
for
key
,
val
in
input
.
items
(
)})
raise
NotImplementedError
...
...
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