The solution to the ODE problem in behav_eq! does not create a vector of tmax elements as expected.
However, note that this issue does not occur frequently. Most of the time it works as expected.
To circumvent this issue I have behav_eq! return the tmax-1 element of the solution. Overall this ad hoc solution should not effect the simulation to any extent.
The solution to the ODE problem in behav_eq! does not create a vector of tmax elements as expected.
However, note that this issue does not occur frequently. Most of the time it works as expected.
To circumvent this issue I have behav_eq! return the tmax-1 element of the solution. Overall this ad hoc solution should not effect the simulation to any extent.