File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -260,17 +260,12 @@ end
260
260
Construct a directed simple graph where nodes correspond to reaction complexes and directed
261
261
edges to reactions converting between two complexes.
262
262
263
- Notes:
264
- - Requires the `incidencemat` to already be cached in `rn` by a previous call to
265
- `reactioncomplexes`.
266
-
267
263
For example,
268
264
```julia
269
265
sir = @reaction_network SIR begin
270
266
β, S + I --> 2I
271
267
ν, I --> R
272
268
end
273
- complexes,incidencemat = reactioncomplexes(sir)
274
269
incidencematgraph(sir)
275
270
```
276
271
"""
@@ -498,8 +493,7 @@ isweaklyreversible(rn, subnets)
498
493
function isweaklyreversible (rn:: ReactionSystem , subnets)
499
494
nps = get_networkproperties (rn)
500
495
isempty (nps. incidencemat) && reactioncomplexes (rn)
501
- imat = nps. incidencemat
502
- sparseig = issparse (imat)
496
+ sparseig = issparse (nps. incidencemat)
503
497
504
498
for subnet in subnets
505
499
subnps = get_networkproperties (subnet)
You can’t perform that action at this time.
0 commit comments