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
edcc3b75
Commit
edcc3b75
authored
Jan 08, 2018
by
Martin Reinecke
Browse files
tweak SumOperator; fix a few other problems
parent
1f5a367c
Pipeline
#23411
passed with stage
in 4 minutes and 34 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
nifty/operators/sum_operator.py
View file @
edcc3b75
...
...
@@ -77,7 +77,7 @@ class SumOperator(LinearOperator):
if
sum
!=
0
:
# have to add the scaling operator at the end
opsnew
.
append
(
ScalingOperator
(
sum
,
lastdom
))
ne
w
new
.
append
(
False
)
ne
g
new
.
append
(
False
)
ops
=
opsnew
neg
=
negnew
# Step 4: combine DiagonalOperators where possible
...
...
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