Skip to content

Commit a33ea1b

Browse files
committed
9 commit
1 parent 2da7ce1 commit a33ea1b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tasks/kondrashova_v_sum_col_mat/mpi/src/ops_mpi.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ void GatherSums(std::vector<int> &local_sums, int first_col, int local_cols, int
8080
std::vector<int> &output) {
8181
if (rank == 0) {
8282
if (local_cols > 0) {
83-
std::copy(local_sums.begin(), local_sums.end(), output.begin() + first_col);
83+
std::ranges::copy(local_sums, output.begin() + first_col);
8484
}
8585

8686
for (int src = 1; src < size; src++) {

0 commit comments

Comments
 (0)