Skip to content

Commit 6571e84

Browse files
committed
fix docstring
1 parent f1d1b9b commit 6571e84

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/network_analysis.jl

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -260,17 +260,12 @@ end
260260
Construct a directed simple graph where nodes correspond to reaction complexes and directed
261261
edges to reactions converting between two complexes.
262262
263-
Notes:
264-
- Requires the `incidencemat` to already be cached in `rn` by a previous call to
265-
`reactioncomplexes`.
266-
267263
For example,
268264
```julia
269265
sir = @reaction_network SIR begin
270266
β, S + I --> 2I
271267
ν, I --> R
272268
end
273-
complexes,incidencemat = reactioncomplexes(sir)
274269
incidencematgraph(sir)
275270
```
276271
"""
@@ -498,8 +493,7 @@ isweaklyreversible(rn, subnets)
498493
function isweaklyreversible(rn::ReactionSystem, subnets)
499494
nps = get_networkproperties(rn)
500495
isempty(nps.incidencemat) && reactioncomplexes(rn)
501-
imat = nps.incidencemat
502-
sparseig = issparse(imat)
496+
sparseig = issparse(nps.incidencemat)
503497

504498
for subnet in subnets
505499
subnps = get_networkproperties(subnet)

0 commit comments

Comments
 (0)