Skip to content

Commit 39ad303

Browse files
fix: do not remove input of negative connection in ignored connect handling
1 parent 8f17cdb commit 39ad303

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/systems/connectiongraph.jl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -414,10 +414,6 @@ function remove_negative_connections!(
414414
# if there is any other variable, start removing
415415
push!(idxs_to_rm[edge_j], var_j)
416416
end
417-
if should_rm
418-
# if there was any other variable, also remove `input_j`
419-
push!(idxs_to_rm, input_j)
420-
end
421417
end
422418
end
423419

0 commit comments

Comments
 (0)