aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/sparselu.cpp
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2013-07-17 09:30:25 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2013-07-17 09:30:25 +0200
commitbbaef8ebbaca890267062bbd605c218f2d765d29 (patch)
treec64b6310e4b3202c10ccc5b11c633f965df29fdf /test/sparselu.cpp
parentbd689ccc2836ac0854961c7a3dc5b1151e576a9e (diff)
SparseLU: make COLAMDOrdering the default ordering method.
Diffstat (limited to 'test/sparselu.cpp')
-rw-r--r--test/sparselu.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/sparselu.cpp b/test/sparselu.cpp
index 6a9eac065..37980defc 100644
--- a/test/sparselu.cpp
+++ b/test/sparselu.cpp
@@ -26,7 +26,7 @@
// SparseLU solve does not accept column major matrices for the destination.
// However, as expected, the generic check_sparse_square_solving routines produces row-major
// rhs and destination matrices when compiled with EIGEN_DEFAULT_TO_ROW_MAJOR
-//
+
#ifdef EIGEN_DEFAULT_TO_ROW_MAJOR
#undef EIGEN_DEFAULT_TO_ROW_MAJOR
#endif
@@ -37,7 +37,7 @@
template<typename T> void test_sparselu_T()
{
- SparseLU<SparseMatrix<T, ColMajor>, COLAMDOrdering<int> > sparselu_colamd;
+ SparseLU<SparseMatrix<T, ColMajor> /*, COLAMDOrdering<int>*/ > sparselu_colamd; // COLAMDOrdering is the default
SparseLU<SparseMatrix<T, ColMajor>, AMDOrdering<int> > sparselu_amd;
SparseLU<SparseMatrix<T, ColMajor, long int>, NaturalOrdering<long int> > sparselu_natural;