mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-12 19:59: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;
|
MatrixType Q;
|
||||||
|
|
||||||
int max_tries = 40;
|
int max_tries = 40;
|
||||||
double is_unitary = false;
|
bool is_unitary = false;
|
||||||
|
|
||||||
while (!is_unitary && max_tries > 0)
|
while (!is_unitary && max_tries > 0)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user