Skip to content

Commit

Permalink
Fix blunder in copy keys if
Browse files Browse the repository at this point in the history
  • Loading branch information
kstppd authored Oct 1, 2023
1 parent 857eb77 commit e17fb1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/splitvector/split_tools.h
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,7 @@ void copy_keys_if(split::SplitVector<T, split::split_unified_allocator<T>>& inpu
split::SplitVector<U, split::split_unified_allocator<U>>& output, Rule rule,
split_gpuStream_t s = 0) {

auto len = copy_keys_if_raw(input, output.data, rule, s);
auto len = copy_keys_if_raw(input, output.data(), rule, s);
output.erase(&output[len], output.end());
}

Expand Down

0 comments on commit e17fb1e

Please sign in to comment.