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
f3195322
Commit
f3195322
authored
May 19, 2020
by
Martin Reinecke
Browse files
fix weights
parent
1c82d935
Pipeline
#75190
passed with stages
in 34 minutes and 41 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
nifty6/operators/contraction_operator.py
View file @
f3195322
...
...
@@ -85,6 +85,4 @@ def IntegrationOperator(domain, spaces):
The elements of "domain" which are contracted.
If `None`, everything is contracted
"""
domain
=
DomainTuple
.
make
(
domain
)
swgt
=
domain
.
scalar_weight
(
spaces
)
return
ContractionOperator
(
domain
,
spaces
,
swgt
)
return
ContractionOperator
(
domain
,
spaces
,
1
)
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