aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/sparse_lu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'bench/sparse_lu.cpp')
-rw-r--r--bench/sparse_lu.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/bench/sparse_lu.cpp b/bench/sparse_lu.cpp
index d6020b552..bb73d481d 100644
--- a/bench/sparse_lu.cpp
+++ b/bench/sparse_lu.cpp
@@ -112,6 +112,11 @@ int main(int argc, char *argv[])
}
#endif
+ #ifdef EIGEN_UMFPACK_SUPPORT
+ x.setZero();
+ doEigen<Eigen::UmfPack>("Eigen/UmfPack (auto)", sm1, b, x, 0);
+ #endif
+
#ifdef EIGEN_SUPERLU_SUPPORT
x.setZero();
doEigen<Eigen::SuperLU>("Eigen/SuperLU (nat)", sm1, b, x, Eigen::NaturalOrdering);
@@ -120,11 +125,6 @@ int main(int argc, char *argv[])
doEigen<Eigen::SuperLU>("Eigen/SuperLU (COLAMD)", sm1, b, x, Eigen::ColApproxMinimumDegree);
#endif
- #ifdef EIGEN_UMFPACK_SUPPORT
- x.setZero();
- doEigen<Eigen::UmfPack>("Eigen/UmfPack (auto)", sm1, b, x, 0);
- #endif
-
}
return 0;