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
a4888647
Commit
a4888647
authored
Jun 22, 2018
by
Philipp Arras
Browse files
Cleanup
parent
9da9029d
Pipeline
#31631
failed with stages
in 4 minutes and 9 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
nifty5/operators/model_gradient_operator.py
View file @
a4888647
...
...
@@ -75,9 +75,5 @@ class ModelGradientOperator(LinearOperator):
for
dd
in
self
.
domain
:
if
dd
in
grad_keys
:
res
[
dd
]
=
self
.
_gradients
[
dd
].
adjoint_times
(
x
)
# else:
# res[dd] = full(self.domain[dd], 0.)
res
=
MultiField
(
res
)
# if not res.domain == self.domain:
# raise TypeError
return
res
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