Skip to content

Commit

Permalink
graph clang formatting
Browse files Browse the repository at this point in the history
Signed-off-by: Nathan Young <[email protected]>
  • Loading branch information
TactfulDeity committed Nov 14, 2024
1 parent dd05561 commit ba1dcac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion avogadro/core/graph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,8 @@ void Graph::removeEdge(size_t a, size_t b)

std::swap(*iter, neighborsA.back());
neighborsA.pop_back();
std::swap(*std::find(neighborsB.begin(), neighborsB.end(), a), neighborsB.back());
std::swap(*std::find(neighborsB.begin(), neighborsB.end(), a),
neighborsB.back());
neighborsB.pop_back();

size_t edgeIndex;
Expand Down

0 comments on commit ba1dcac

Please sign in to comment.