Commit ba58ae24 authored by Martin Reinecke's avatar Martin Reinecke

bug fix

parent 6a602768
......@@ -72,7 +72,7 @@ class Linearization(object):
return Linearization(self._val*other, self._jac*other)
if isinstance(other, (Field, MultiField)):
d2 = makeOp(other)
return Linearization(self._val*other, self._jac*d2)
return Linearization(self._val*other, d2*self._jac)
raise TypeError
def __rmul__(self, other):
......
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