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

bug fix

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