mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-01-30 17:40:05 +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…
Reference in New Issue
Block a user