From 354f14293b8a193a6f01d45081db684521ac3c0e Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Fri, 23 Nov 2018 15:12:06 +0100 Subject: Fix double = bool ! --- test/umeyama.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/umeyama.cpp') diff --git a/test/umeyama.cpp b/test/umeyama.cpp index 1590a0a81..170c28a61 100644 --- a/test/umeyama.cpp +++ b/test/umeyama.cpp @@ -27,7 +27,7 @@ Eigen::Matrix randMatrixUnitary(int size) MatrixType Q; int max_tries = 40; - double is_unitary = false; + bool is_unitary = false; while (!is_unitary && max_tries > 0) { -- cgit v1.2.3