From 33b29e9991db6e8da60a243f2ef5daa3a874b855 Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Mon, 13 Jun 2016 10:43:21 +0200 Subject: [PATCH] Revert "Check for HAVE_UMFPACK in LinearSolverFactory" This reverts commit f54c74db0637640f5fb224fab243b294cd034f15. --- opm/core/linalg/LinearSolverFactory.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/opm/core/linalg/LinearSolverFactory.cpp b/opm/core/linalg/LinearSolverFactory.cpp index 18204cc9f..d2bd31204 100644 --- a/opm/core/linalg/LinearSolverFactory.cpp +++ b/opm/core/linalg/LinearSolverFactory.cpp @@ -23,7 +23,7 @@ #include -#if HAVE_UMFPACK +#if HAVE_SUITESPARSE_UMFPACK_H #include #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("linsolver", "umfpack"); if (ls == "umfpack") { -#if HAVE_UMFPACK +#if HAVE_SUITESPARSE_UMFPACK_H solver_.reset(new LinearSolverUmfpack); #endif }