Skip to content

Commit

Permalink
fix initialization bug
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacsas committed Dec 31, 2022
1 parent 176ca81 commit cf0f050
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Breaking updates and feature summaries across releases

## JumpProcesses unreleased (master branch)
- Support for "bounded" `VariableRateJump`s that can be used with the `Coevolve`
aggregator for faster simulation of jump processes with time-dependent rates.
In particular, if all `VariableRateJump`s in a pure-jump system are bounded one
can use `Coevolve` with `SSAStepper` for better performance. See the
documentation, particularly the first and second tutorials, for details on
defining and using bounded `VariableRateJump`s.
2 changes: 1 addition & 1 deletion src/aggregators/coevolve.jl
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ function aggregate(aggregator::Coevolve, u, p, t, end_time, constant_jumps,
affects! = Vector{AffectWrapper}(undef, nrjs)
rates = Vector{RateWrapper}(undef, nvrjs)
lrates = similar(rates)
urates = similar(rates)
rateintervals = similar(rates)
urates = Vector{RateWrapper}(undef, nrjs)
haslratevec = zeros(Bool, nvrjs)

idx = 1
Expand Down

0 comments on commit cf0f050

Please sign in to comment.