mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-14 04:35:57 +08:00
Fix boolean bitwise and warning.
(cherry picked from commit 70410310a40bf6f790e8f3c785e78aa2b8f4ca12)
This commit is contained in:
parent
f296720d7d
commit
a4ecfd8ead
@ -70,7 +70,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