Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
LCSB-BioCore
COBREXA.jl
Commits
71b79ec6
Commit
71b79ec6
authored
Nov 11, 2021
by
Miroslav Kratochvil
Browse files
fix the bounds type in docs
parent
85931328
Changes
1
Hide whitespace changes
Inline
Side-by-side
docs/src/advanced/2_custom_model.md
View file @
71b79ec6
...
...
@@ -73,8 +73,8 @@ function COBREXA.objective(m::CircularModel)
end
COBREXA
.
bounds
(
m
::
CircularModel
)
=
(
sp
zeros
(
n_reactions
(
m
)),
# lower bounds
sparse
(
ones
(
n_reactions
(
m
))
)
,
# upper bounds
zeros
(
n_reactions
(
m
)),
# lower bounds
ones
(
n_reactions
(
m
)),
# upper bounds
)
function
COBREXA.stoichiometry
(
m
::
CircularModel
)
...
...
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