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

bug fix

parent 6cf9e057
Pipeline #19538 passed with stage
in 4 minutes and 11 seconds
...@@ -274,7 +274,7 @@ class Field(object): ...@@ -274,7 +274,7 @@ class Field(object):
from .operators.power_projection_operator import PowerProjectionOperator from .operators.power_projection_operator import PowerProjectionOperator
power_domain = PowerSpace(field.domain[idx], binbounds) power_domain = PowerSpace(field.domain[idx], binbounds)
ppo = PowerProjectionOperator(field.domain, power_domain, idx) ppo = PowerProjectionOperator(field.domain, power_domain, idx)
return ppo(field) return ppo(field.weight(-1))
def _compute_spec(self, spaces): def _compute_spec(self, spaces):
from .operators.power_projection_operator import PowerProjectionOperator from .operators.power_projection_operator import PowerProjectionOperator
......
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