aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/sparselu.cpp
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2014-10-17 16:52:56 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2014-10-17 16:52:56 +0200
commita370b1f2e20804f0b99bcda1c3940f00300e4f90 (patch)
treef4e65ba43e37bb64fd192452e6e3fe34a12cf387 /test/sparselu.cpp
parenta13bc2220457224152e8e301c928f28013691d15 (diff)
Fix SparseLU::absDeterminant and add respective unit test
Diffstat (limited to 'test/sparselu.cpp')
-rw-r--r--test/sparselu.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/sparselu.cpp b/test/sparselu.cpp
index 37980defc..52371cb12 100644
--- a/test/sparselu.cpp
+++ b/test/sparselu.cpp
@@ -44,6 +44,9 @@ template<typename T> void test_sparselu_T()
check_sparse_square_solving(sparselu_colamd);
check_sparse_square_solving(sparselu_amd);
check_sparse_square_solving(sparselu_natural);
+
+ check_sparse_square_abs_determinant(sparselu_colamd);
+ check_sparse_square_abs_determinant(sparselu_amd);
}
void test_sparselu()