aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/sparse_lu.cpp
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2008-10-25 00:08:52 +0000
committerGravatar Gael Guennebaud <g.gael@free.fr>2008-10-25 00:08:52 +0000
commit0c5a09d93f3efe85b7666b0f45a43abb48def18c (patch)
tree9bafd09ba38964394c2428e47c6faabbf1faa7de /bench/sparse_lu.cpp
parent8ea8b481de07169706343f35f928eac845b706fe (diff)
some cleaning and doc in ParametrizedLine and HyperPlane
Just a thought: what about ParamLine instead of the verbose ParametrizedLine ?
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;