Skip to content

Commit

Permalink
remove const in apply_f
Browse files Browse the repository at this point in the history
  • Loading branch information
ldhulipala committed May 2, 2023
1 parent 7236745 commit a8ebed9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmarks/KCore/JulienneDBS17/KCore.h
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ inline parlay::sequence<uintE> DegeneracyOrderWithLoad(Graph& G, sequence<uintE>
degeneracy_order.append(active_seq);

auto apply_f = [&](const std::tuple<uintE, uintE>& p)
-> const std::optional<std::tuple<uintE, uintE> > {
-> std::optional<std::tuple<uintE, uintE> > {
uintE v = std::get<0>(p), edgesRemoved = std::get<1>(p);
uintE deg = D[v];
if (deg > k) {
Expand Down

0 comments on commit a8ebed9

Please sign in to comment.