Commit 4ab634d6 authored by Reimar Heinrich Leike's avatar Reimar Heinrich Leike

correctly ducktaping jacobian of linearization

parent fa1e7078
Pipeline #43295 passed with stages
in 8 minutes and 3 seconds
...@@ -109,7 +109,7 @@ class Linearization(object): ...@@ -109,7 +109,7 @@ class Linearization(object):
def __getitem__(self, name): def __getitem__(self, name):
from .operators.simple_linear_operators import ducktape from .operators.simple_linear_operators import ducktape
return self.new(self._val[name], ducktape(None, self.target, name)) return self.new(self._val[name], self._jac.ducktape_left(name))
def __neg__(self): def __neg__(self):
return self.new(-self._val, -self._jac, return self.new(-self._val, -self._jac,
......
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