Skip to content

Commit

Permalink
Fix vectorization error on copy algorithm
Browse files Browse the repository at this point in the history
  • Loading branch information
Pansysk75 committed Nov 9, 2024
1 parent 342d373 commit f3746fb
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,10 @@ namespace hpx::parallel {
util::loop_n<std::decay_t<ExPolicy>>(part_begin, part_size,
[&dest](zip_iterator it) mutable {
if (get<1>(*it))
*dest++ = get<0>(*it);
{
*dest = get<0>(*it);
dest++;
}
});
};

Expand Down

0 comments on commit f3746fb

Please sign in to comment.