Skip to content

Commit a3a5c9a

Browse files
committed
Update docs
1 parent 7c7412b commit a3a5c9a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/src/tutorials/tearing_parallelism.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,9 +165,9 @@ investigate what this means:
165165
```@example tearing
166166
using ModelingToolkit.BipartiteGraphs
167167
ts = TearingState(expand_connections(big_rc))
168-
inc_org = BipartiteGraphs.incidence_matrix(ts.graph)
169-
blt_org = StructuralTransformations.sorted_incidence_matrix(big_rc, only_algeqs=true, only_algvars=true)
170-
blt_reduced = StructuralTransformations.sorted_incidence_matrix(sys, only_algeqs=true, only_algvars=true)
168+
inc_org = BipartiteGraphs.incidence_matrix(ts.structure.graph)
169+
blt_org = StructuralTransformations.sorted_incidence_matrix(ts, only_algeqs=true, only_algvars=true)
170+
blt_reduced = StructuralTransformations.sorted_incidence_matrix(ModelingToolkit.get_tearing_state(sys), only_algeqs=true, only_algvars=true)
171171
```
172172

173173
![](https://user-images.githubusercontent.com/1814174/110589027-d4ec9b00-8143-11eb-8880-651da986504d.PNG)

0 commit comments

Comments
 (0)