Skip to content

Commit

Permalink
set new dimension after gather
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamer2368 committed Sep 5, 2024
1 parent 5d465c6 commit ece2946
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/linalg/Vector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -637,6 +637,7 @@ Vector::gather()
delete [] data_offsets, data_cnts;
d_vec = d_new_vec;
d_alloc_size = new_size;
d_dim = new_size;

d_distributed = false;
}
Expand Down

0 comments on commit ece2946

Please sign in to comment.