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

bug fix

parent 7db6d4f9
...@@ -257,8 +257,8 @@ for op in ["__iadd__", "__isub__", "__imul__", "__idiv__", ...@@ -257,8 +257,8 @@ for op in ["__iadd__", "__isub__", "__imul__", "__idiv__",
for f in ["sqrt", "exp", "log", "tanh"]: for f in ["sqrt", "exp", "log", "tanh"]:
def func(f): def func(f):
def func2(self): def func2(self):
fu = getattr(dobj, f) fu = getattr(Field, f)
return MultiField(self.domain, return MultiField(self.domain,
tuple(func2(val) for val in self.values())) tuple(fu(val) for val in self.values()))
return func2 return func2
setattr(MultiField, f, func(f)) setattr(MultiField, f, func(f))
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