Commit b54a15f4 authored by Theo Steininger's avatar Theo Steininger
Browse files

Fixed weight in nifty.Field.dot

parent 3e9552e7
Pipeline #10278 passed with stages
in 29 minutes and 18 seconds
......@@ -582,9 +582,9 @@ class Field(Loggable, Versionable, object):
# Compute the dot respecting the fact of discrete/continous spaces
if bare:
y = self.weight(spaces=spaces, power=-1)
else:
y = self
else:
y = self.weight(power=1)
if spaces is None:
x_val = x.get_val(copy=False)
......
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