SciML / Catalyst.jl

Chemical reaction network and systems biology interface for scientific machine learning (SciML). High performance, GPU-parallelized, and O(1) solvers in open source software.
https://docs.sciml.ai/Catalyst/stable/
Other
437 stars 71 forks source link

missing new line in Latexify display after last equation in sytstems with reactions an equations #927

Open TorkelE opened 3 weeks ago

TorkelE commented 3 weeks ago

MWE:

using Catalyst
@variables t V(t)
@species X(t)
@parameters p
D = Differential(t)
eqs = [
    Reaction(p, [], [X]),
    D(V) ~ 1 - V
]
@named rs = ReactionSystem(eqs, t)

image

Example with multiple reactions/equations image

I started looking at it,. I found the area with the line breaks, but couldn't really figure out what was happening. Unless you can figure it out quickly @isaacsas I will get back to this later.