aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/lu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/lu.cpp')
-rw-r--r--test/lu.cpp2
1 files changed, 1 insertions, 1 deletions
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<typename MatrixType> void lu_invertible()
MatrixType m1(size, size), m2(size, size), m3(size, size);
FullPivLU<MatrixType> lu;
- lu.setThreshold(0.01);
+ lu.setThreshold(RealScalar(0.01));
do {
m1 = MatrixType::Random(size,size);
lu.compute(m1);