From c9e3e438ebbaaf8e43d0309ad0145c2d21e4f88f Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Tue, 26 Jul 2016 14:45:44 +0200 Subject: Add more very small numbers in the list of nearly "zero" values when testing SVD and EVD algorithms --- test/svd_fill.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/svd_fill.h') diff --git a/test/svd_fill.h b/test/svd_fill.h index e0951ca57..a705fa011 100644 --- a/test/svd_fill.h +++ b/test/svd_fill.h @@ -54,8 +54,8 @@ void svd_fill_random(MatrixType &m, int Option = 0) VT.setRandom(); } - Matrix samples(7); - samples << 0, 5.60844e-313, -5.60844e-313, 4.94e-324, -4.94e-324, -RealScalar(1)/NumTraits::highest(), RealScalar(1)/NumTraits::highest(); + Matrix samples(9); + samples << 0, 5.60844e-313, -5.60844e-313, 4.94e-324, -4.94e-324, -RealScalar(1)/NumTraits::highest(), RealScalar(1)/NumTraits::highest(), (std::numeric_limits::min)(), pow((std::numeric_limits::min)(),0.8); if(Option==Symmetric) { -- cgit v1.2.3