Skip to content

Commit

Permalink
correct typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiaoyang-Li authored Jul 24, 2024
1 parent 0c1d5ed commit a834df1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/CBSHeuristic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -369,9 +369,9 @@ int CBSHeuristic::minimumVertexCover(const vector<int>& CG)
}
}
else {
for (int i = 1; i < (int) indices.size(); i++) {
if (KVertexCover(subgraph, (int) indices.size(), num_edges, i, (int) indices.size())) {
rst += i;
for (int k = 1; k < (int) indices.size(); k++) {
if (KVertexCover(subgraph, (int) indices.size(), num_edges, k, (int) indices.size())) {
rst += k;
break;
}
double runtime = (double) (clock() - start_time) / CLOCKS_PER_SEC;
Expand Down

0 comments on commit a834df1

Please sign in to comment.