Skip to content

Commit 3e839fb

Browse files
committed
[lib][rr_graph][storage] don't set edges_read_ in init_fan_in
1 parent e888c7d commit 3e839fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/librrgraph/src/base/rr_graph_storage.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ bool t_rr_graph_storage::verify_first_edges() const {
182182

183183
void t_rr_graph_storage::init_fan_in() {
184184
//Reset all fan-ins to zero
185-
edges_read_ = true;
185+
node_fan_in_.clear();
186186
node_fan_in_.resize(node_storage_.size(), 0);
187187
node_fan_in_.shrink_to_fit();
188188
//Walk the graph and increment fanin on all downstream nodes

0 commit comments

Comments
 (0)