Skip to content

Commit 903ec91

Browse files
authored
Merge pull request #128 from SciML/pl/format
format
2 parents 3023a88 + 48719b6 commit 903ec91

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/reactions.jl

-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,6 @@ Get rate constant of mass action kineticLaws
162162
"""
163163
function get_massaction(kl::Num, reactants::Union{Vector{Num}, Nothing},
164164
stoich::Union{Vector{<:Real}, Nothing})
165-
166165
function check_args(x::SymbolicUtils.BasicSymbolic{Real})
167166
check_args(Val(SymbolicUtils.istree(x)), x)
168167
end

test/reactions.jl

+2-2
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,9 @@ m = SBML.Model(species = Dict("s" => s), reactions = Dict("r1" => r))
105105
SBMLToolkit.get_reagents(r.reactants, r.products, m))
106106
@test isequal((nothing, nothing, nothing, nothing),
107107
SBMLToolkit.get_reagents(r.products, r.reactants, m))
108-
108+
109109
r = SBML.Reaction(reactants = [SBML.SpeciesReference(species = "s", stoichiometry = 1.0),
110-
SBML.SpeciesReference(species = "s", stoichiometry = 1.0)],
110+
SBML.SpeciesReference(species = "s", stoichiometry = 1.0)],
111111
reversible = false)
112112
m = SBML.Model(species = Dict("s" => s), reactions = Dict("r1" => r))
113113
@test isequal(([var], [var], [2.0], [2.0]),

0 commit comments

Comments
 (0)