Skip to content

Commit

Permalink
fix assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
renau committed Jan 11, 2024
1 parent c779b19 commit 5f0d025
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lgraph/lgedgeiter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -328,17 +328,15 @@ void Fwd_edge_iterator::Fwd_iter::fwd_first(Lgraph *lg) {
I(current_node.is_invalid());
I(linear_first_phase);

#if 1
if (visit_sub) {
lg->each_graph_output([this](Node_pin &out_dpin) {
auto dpin = out_dpin.change_to_sink_from_graph_out_driver().get_driver_pin();
I(!dpin.is_hierarchical());
if (dpin.is_type_sub()) {
if (dpin.is_type_sub() && dpin.get_node().is_type_sub_present()) {
topo_add_chain_down(dpin.get_hierarchical());
}
});
}
#endif

fwd_get_from_linear_first(lg);
if (current_node.is_invalid()) {
Expand Down

0 comments on commit 5f0d025

Please sign in to comment.