mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Fix double = bool !
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user