We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2da7ce1 commit a33ea1bCopy full SHA for a33ea1b
1 file changed
tasks/kondrashova_v_sum_col_mat/mpi/src/ops_mpi.cpp
@@ -80,7 +80,7 @@ void GatherSums(std::vector<int> &local_sums, int first_col, int local_cols, int
80
std::vector<int> &output) {
81
if (rank == 0) {
82
if (local_cols > 0) {
83
- std::copy(local_sums.begin(), local_sums.end(), output.begin() + first_col);
+ std::ranges::copy(local_sums, output.begin() + first_col);
84
}
85
86
for (int src = 1; src < size; src++) {
0 commit comments