Skip to content

Commit 421791d

Browse files
committed
fix
1 parent e749182 commit 421791d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/library_checker_aizu_tests/math/xor_basis_intersection.test.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ int main() {
3737
cin >> n;
3838
basis basis1;
3939
basis_ordered<int> basis2; // to check that it compiles
40-
assert(empty(basis2.b)); // remove unused var warning
40+
assert(
41+
sz(basis2.b) == lg); // remove unused var warning
4142
basis_ordered<ll> basis3;
4243
basis_ordered<bitset<lg>> basis4;
4344
for (int i = 0; i < n; i++) {
@@ -56,6 +57,7 @@ int main() {
5657
cin >> m;
5758
basis basis5;
5859
basis_ordered<int> basis6;
60+
assert(sz(basis6.b) == lg);
5961
basis_ordered<ll> basis7;
6062
basis_ordered<bitset<lg>> basis8;
6163
for (int j = 0; j < m; j++) {

0 commit comments

Comments
 (0)