Commit f3195322 authored by Martin Reinecke's avatar Martin Reinecke
Browse files

fix weights

parent 1c82d935
Pipeline #75190 passed with stages
in 34 minutes and 41 seconds
......@@ -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)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment