Skip to content
Snippets Groups Projects
Unverified Commit c3a06c81 authored by St. Elmo's avatar St. Elmo
Browse files

change type conversion

parent f1eb4579
No related branches found
No related tags found
No related merge requests found
struct MetaboliteWithCoefficient
coeff::Float64
metabolite::Metabolite
MetaboliteWithCoefficient(c, m) = new(Float64(c), m)
MetaboliteWithCoefficient(c, m) = new(float(c), m)
end
function Base.:*(coeff, met::Metabolite)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment