Skip to content

Commit b15fe69

Browse files
committed
Fix
1 parent 6d184ce commit b15fe69

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

cp-algo/structures/bit_array.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ namespace cp_algo::structures {
7070
auto operator <=> (_bit_array const& t) const = default;
7171

7272
constexpr _bit_array& xor_hint(_bit_array const& t, size_t hint) {
73-
for(size_t i = hint / width; i < std::size(data); i++) {
73+
for(size_t i = hint / width; i < words; i++) {
7474
data[i] ^= t.data[i];
7575
}
7676
return *this;

verify/structures/bitpack/prod_mod_2.test.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,6 @@ void solve() {
3636
cin >> row;
3737
from_string(a[i], row);
3838
}
39-
for(auto &it: b) {
40-
it.resize(k);
41-
}
4239
for(int i = 0; i < m; i++) {
4340
cin >> row;
4441
from_string(b[i], row);

0 commit comments

Comments
 (0)