Skip to content

Commit

Permalink
Fix sonar smell
Browse files Browse the repository at this point in the history
Signed-off-by: Sébastien LAIGRE <slaigre@silicom.fr>
  • Loading branch information
sebalaig committed Apr 13, 2022
1 parent e320c13 commit 7a18e03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/powsybl/math/UndirectedGraph.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ void UndirectedGraph<V, E>::addVertexIfNotPresent(unsigned long v) {
m_availableVertices.erase(it);
}
} else {
for (unsigned int i = m_vertices.size(); i < v; ++i) {
for (auto i = m_vertices.size(); i < v; ++i) {
m_availableVertices.insert(i);
}
m_vertices.resize(v + 1);
Expand Down

0 comments on commit 7a18e03

Please sign in to comment.