From afc155963d9089fadd0cce25bb639cf721258ced Mon Sep 17 00:00:00 2001 From: Guilherme Werner Date: Tue, 20 Jun 2023 15:51:34 -0300 Subject: [PATCH] Update Graph.cpp --- Source/Graph.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/Graph.cpp b/Source/Graph.cpp index 3d94544..99367c6 100644 --- a/Source/Graph.cpp +++ b/Source/Graph.cpp @@ -427,16 +427,16 @@ void Graph::TransitiveReduction3() } } - for (int v = 0; v < this->length; ++v) + for (auto v = 0; v < this->length; ++v) { std::vector> paths; // Encontra todos os paths possíveis de v para outros vértices - for (int j = 2; j <= this->length; ++j) + for (auto j = 2; j <= this->length; ++j) { std::vector path(j); - for (int i = 0; i < j; ++i) + for (auto i = 0; i < j; ++i) { path[i] = i; }