augustinas1 / MomentClosure.jl

Tools to generate and study moment equations for any chemical reaction network using various moment closure approximations
https://augustinas1.github.io/MomentClosure.jl/dev/
MIT License
44 stars 6 forks source link

Fixed extraction of variables from eqs #3

Closed augustinas1 closed 3 years ago

augustinas1 commented 3 years ago

Fixes issue #2.

Internal extract_variables was broken, leading to improperly setup ODESystem. Also deterministic_IC now enforces the initial condition vector to be strictly an array of Real type (hopefully will work).

codecov[bot] commented 3 years ago

Codecov Report

Merging #3 (6aa5759) into main (ed05c63) will increase coverage by 0.02%. The diff coverage is 75.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main       #3      +/-   ##
==========================================
+ Coverage   90.21%   90.23%   +0.02%     
==========================================
  Files          19       19              
  Lines         950      952       +2     
==========================================
+ Hits          857      859       +2     
  Misses         93       93              
Impacted Files Coverage Δ
src/MomentClosure.jl 100.00% <ø> (ø)
src/central_moment_equations.jl 98.63% <ø> (ø)
src/utils.jl 38.73% <50.00%> (ø)
src/symbolic.jl 91.42% <100.00%> (+0.16%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update ed05c63...6aa5759. Read the comment docs.