Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
LCSB-BioCore
COBREXA.jl
Commits
f13041f5
Unverified
Commit
f13041f5
authored
Oct 13, 2021
by
Miroslav Kratochvil
Committed by
GitHub
Oct 13, 2021
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
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
src/reconstruction/Reaction.jl
View file @
f13041f5
...
@@ -4,7 +4,7 @@ struct MetaboliteWithCoefficient
...
@@ -4,7 +4,7 @@ struct MetaboliteWithCoefficient
MetaboliteWithCoefficient
(
c
,
m
)
=
new
(
float
(
c
),
m
)
MetaboliteWithCoefficient
(
c
,
m
)
=
new
(
float
(
c
),
m
)
end
end
function
Base.:*
(
coeff
,
met
::
Metabolite
)
function
Base.:*
(
coeff
::
Real
,
met
::
Metabolite
)
return
MetaboliteWithCoefficient
(
coeff
,
met
)
return
MetaboliteWithCoefficient
(
coeff
,
met
)
end
end
...
...
cylon-x
🤖
@cylon-x
mentioned in commit
e0913ae6
·
Oct 13, 2021
mentioned in commit
e0913ae6
mentioned in commit e0913ae6e2f46a85e21db061c5ef372e922cc3f5
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment