mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-04-20 08:39:37 +08:00
Fix boolean bitwise and warning.
This commit is contained in:
parent
f6cf5dca80
commit
70410310a4
@ -69,7 +69,7 @@ void test_dynamic_bool()
|
||||
for(Index i=0;i<C.rows();++i)
|
||||
for(Index j=0;j<C.cols();++j)
|
||||
for(Index k=0;k<A.cols();++k)
|
||||
D.coeffRef(i,j) |= A.coeff(i,k) & B.coeff(k,j);
|
||||
D.coeffRef(i,j) |= (A.coeff(i,k) && B.coeff(k,j));
|
||||
C += A * B;
|
||||
VERIFY_IS_EQUAL(C, D);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user