Update bcast.h
This commit is contained in:
parent
603104ecf5
commit
16dcd34747
@ -176,7 +176,7 @@ BCastList<N>::BCastList(const BCastList::Vec (&x)[N],
|
||||
|
||||
// 1-extend and align all vectors.
|
||||
for (int i = 0; i < N; ++i) {
|
||||
if (copy_i_size < largest_rank) {
|
||||
if (copy[i].size() < largest_rank) {
|
||||
copy[i].resize(largest_rank, 1);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user