Commit 4ab634d6 authored by Reimar H Leike's avatar Reimar H Leike
Browse files

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[name], ducktape(None,, name)) return[name], self._jac.ducktape_left(name))
def __neg__(self): def __neg__(self):
return, -self._jac, return, -self._jac,
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