Skip to content

Commit

Permalink
fix compiler warning for SKX gcc-7 build
Browse files Browse the repository at this point in the history
  • Loading branch information
euphoricpoptarts committed Aug 18, 2022
1 parent a447c1b commit 62b71b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/graph/KokkosGraph_CoarsenHeuristics.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -692,7 +692,7 @@ class coarsen_heuristics {
if (adj_size > 0) {
edge_offset_t end = g.graph.row_map(i + 1);
typename Kokkos::MaxLoc<scalar_t, edge_offset_t,
Device>::value_type argmax;
Device>::value_type argmax{};
Kokkos::parallel_reduce(
Kokkos::TeamThreadRange(thread, g.graph.row_map(i), end),
[=](const edge_offset_t idx,
Expand Down

0 comments on commit 62b71b4

Please sign in to comment.