Unverified Commit f13041f5 authored by Miroslav Kratochvil's avatar Miroslav Kratochvil Committed by GitHub
Browse files

Merge pull request #459 from LCSB-BioCore/mk-metabolite-ambiguity

fix metabolite vector construction ambiguity
parents 0560bd18 65261031
Pipeline #48277 failed with stages
in 36 minutes and 20 seconds
......@@ -4,7 +4,7 @@ struct MetaboliteWithCoefficient
MetaboliteWithCoefficient(c, m) = new(float(c), m)
end
function Base.:*(coeff, met::Metabolite)
function Base.:*(coeff::Real, met::Metabolite)
return MetaboliteWithCoefficient(coeff, met)
end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment