Revert "Check for HAVE_UMFPACK in LinearSolverFactory"

This reverts commit f54c74db06.
This commit is contained in:
Arne Morten Kvarving 2016-06-13 10:43:21 +02:00
parent 192bb54e70
commit ba255d89d3

View File

@ -23,7 +23,7 @@
#include <opm/core/linalg/LinearSolverFactory.hpp>
#if HAVE_UMFPACK
#if HAVE_SUITESPARSE_UMFPACK_H
#include <opm/core/linalg/LinearSolverUmfpack.hpp>
#endif
@ -45,7 +45,7 @@ namespace Opm
LinearSolverFactory::LinearSolverFactory()
{
#if HAVE_UMFPACK
#if HAVE_SUITESPARSE_UMFPACK_H
solver_.reset(new LinearSolverUmfpack);
#elif HAVE_DUNE_ISTL
solver_.reset(new LinearSolverIstl);
@ -65,7 +65,7 @@ namespace Opm
param.getDefault<std::string>("linsolver", "umfpack");
if (ls == "umfpack") {
#if HAVE_UMFPACK
#if HAVE_SUITESPARSE_UMFPACK_H
solver_.reset(new LinearSolverUmfpack);
#endif
}