Closed lmshk closed 1 year ago
That isn't currently a supported keyword for SSAStepper
, but unfortunately I guess you are getting more general solve
docs that mention it.
The way to disable saving every step is explained here:
https://docs.sciml.ai/JumpProcesses/dev/tutorials/discrete_stochastic_example/#save_positions_docs
You need to set it via the JumpProblem
as jumps are handled like callbacks and this is how to indicate not to save when callbacks are executed.
(I am using JumpProcesses v9.6.0 on Julia v1.8.5.)
Consider the first example from the documentation:
According to
?solve(jprob, SSAStepper())
I should be able to set thesave_everystep
option, but:gives me a
MethodError
:The same happens when I use
init
instead, but the following workaround seems to do what I need: