mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-04-12 19:20:36 +08:00
Fix double = bool !
This commit is contained in:
parent
a7842daef2
commit
354f14293b
@ -27,7 +27,7 @@ Eigen::Matrix<T, Eigen::Dynamic, Eigen::Dynamic> randMatrixUnitary(int size)
|
||||
MatrixType Q;
|
||||
|
||||
int max_tries = 40;
|
||||
double is_unitary = false;
|
||||
bool is_unitary = false;
|
||||
|
||||
while (!is_unitary && max_tries > 0)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user