diff --git a/test/lu.cpp b/test/lu.cpp index 22dca76d2..9aa793e00 100644 --- a/test/lu.cpp +++ b/test/lu.cpp @@ -120,7 +120,7 @@ template void lu_invertible() MatrixType m1(size, size), m2(size, size), m3(size, size); FullPivLU lu; - lu.setThreshold(0.01); + lu.setThreshold(RealScalar(0.01)); do { m1 = MatrixType::Random(size,size); lu.compute(m1);