You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A reminder that we need to fix the following issue.
Whenever we use np.log or np.exp in a block, it throws an error when computing Jacobians.
Here is a minimal example:
import numpy as np
import matplotlib.pyplot as plt
import sequence_jacobian as sj
@sj.simple
def test(x):
y = np.exp(x)
return y
ss = test.steady_state({'x': 1})
test.jacobian(ss, inputs=['x'], outputs=['y'], T=100)
The current workaround is to write y = x.apply(np.exp) inside the block, which is pretty cumbersome.
The text was updated successfully, but these errors were encountered:
A reminder that we need to fix the following issue.
Whenever we use
np.log
ornp.exp
in a block, it throws an error when computing Jacobians.Here is a minimal example:
The current workaround is to write
y = x.apply(np.exp)
inside the block, which is pretty cumbersome.The text was updated successfully, but these errors were encountered: