Graph::visitFaninEdges

Signed-off-by: James Cherry <cherry@CerezoBook.local>
This commit is contained in:
James Cherry 2026-07-10 17:07:55 -07:00
parent 8648521ece
commit d05c37e3a6
1 changed files with 1 additions and 1 deletions

View File

@ -632,7 +632,7 @@ Graph::visitFaninEdges(Vertex *vertex,
const EdgeFn &fn)
{
if (pred->searchFrom(vertex)) {
VertexOutEdgeIterator edge_iter(vertex, graph_);
VertexInEdgeIterator edge_iter(vertex, graph_);
while (edge_iter.hasNext()) {
Edge *edge = edge_iter.next();
Vertex *from_vertex = this->vertex(edge->from_);