Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
seunghwak committed Aug 20, 2024
1 parent 8193a91 commit 9625e0c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cpp/src/prims/detail/per_v_transform_reduce_e.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -1160,7 +1160,8 @@ void per_v_transform_reduce_e_edge_partition(
auto segment_key_last = edge_partition_key_last;
if constexpr (use_input_key) {
segment_key_first += (*key_segment_offsets)[3];
segment_key_last += (*key_segment_offsets)[4];
segment_key_last =
segment_key_first + ((*key_segment_offsets)[4] - (*key_segment_offsets)[3]);
} else {
assert(segment_key_first == nullptr);
assert(segment_key_last == nullptr);
Expand Down

0 comments on commit 9625e0c

Please sign in to comment.