Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
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
Show whitespace changes
Inline
Side-by-side
nifty6/operators/contraction_operator.py
View file @
f3195322
...
@@ -85,6 +85,4 @@ def IntegrationOperator(domain, spaces):
...
@@ -85,6 +85,4 @@ def IntegrationOperator(domain, spaces):
The elements of "domain" which are contracted.
The elements of "domain" which are contracted.
If `None`, everything is contracted
If `None`, everything is contracted
"""
"""
domain
=
DomainTuple
.
make
(
domain
)
return
ContractionOperator
(
domain
,
spaces
,
1
)
swgt
=
domain
.
scalar_weight
(
spaces
)
return
ContractionOperator
(
domain
,
spaces
,
swgt
)
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