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

bug fix

parent 9880da31
...@@ -460,7 +460,7 @@ class Field(object): ...@@ -460,7 +460,7 @@ class Field(object):
swgt = self.scalar_weight(spaces) swgt = self.scalar_weight(spaces)
if swgt is not None: if swgt is not None:
res = self.sum(spaces) res = self.sum(spaces)
res *= swgt res = res*swgt
return res return res
tmp = self.weight(1, spaces=spaces) tmp = self.weight(1, spaces=spaces)
return tmp.sum(spaces) return tmp.sum(spaces)
......
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