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

Merge branch '52-questions-on-symmetrizingoperator' into 'NIFTy_5'

Resolve "Questions on SymmetrizingOperator"

Closes #52

See merge request ift/nifty-dev!105
parents c0bc65a3 bdd1533d
......@@ -42,4 +42,5 @@ class SymmetrizingOperator(EndomorphicOperator):
lead = (slice(None),)*i
v, loc = dobj.ensure_not_distributed(v, (i,))
loc[lead+(slice(1, None),)] -= loc[lead+(slice(None, 0, -1),)]
loc /= 2
return Field(, dobj.ensure_default_distributed(v))
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