Skip to content

Commit 488beb8

Browse files
Merge pull request #83 from JuliaComputing/as/fix-carpanzano
fix: clear buffers between SCCs in `CarpanzanoTearing`
2 parents e684b3c + f057515 commit 488beb8

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/carpanzano_tearing.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ function (alg::CarpanzanoTearing)(structure::SystemStructure)
5555
active_vars = OrderedSet{Int}()
5656
active_eqs = OrderedSet{Int}()
5757
for vars in var_sccs
58+
empty!(active_vars)
59+
empty!(active_eqs)
5860
for var in vars
5961
# Identify variables and equations in this SCC
6062
if varfilter(var)

0 commit comments

Comments
 (0)