Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
NIFTy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ift
NIFTy
Commits
edcc3b75
There was a problem fetching the pipeline summary.
Commit
edcc3b75
authored
7 years ago
by
Martin Reinecke
Browse files
Options
Downloads
Patches
Plain Diff
tweak SumOperator; fix a few other problems
parent
1f5a367c
Branches
Branches containing commit
No related tags found
1 merge request
!207
new operator convenience functionality
Pipeline
#
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
nifty/operators/sum_operator.py
+1
-1
1 addition, 1 deletion
nifty/operators/sum_operator.py
with
1 addition
and
1 deletion
nifty/operators/sum_operator.py
+
1
−
1
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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment