Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use single type for mass action kinetics
This avoids type instability in `rate` and `rate_derivative` due to the small type union. Using a single type is probably better in the long run, but need to keep an eye on `rate_derivative` for higher-order (order >> 2)reactions.
- Loading branch information
1 parent
92f72ca
commit 7437855
Showing
2 changed files
with
50 additions
and
142 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters