From 3bea645486ed261da8d78e26cfdca0e80e6b0d7d Mon Sep 17 00:00:00 2001 From: Niklas Worschech Date: Thu, 30 Jul 2015 14:40:56 +0200 Subject: [PATCH] fix in umfpack solver, only include umfpack.h if umfpack was found --- SimulationRuntime/cpp/Solver/UmfPack/UmfPack.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/SimulationRuntime/cpp/Solver/UmfPack/UmfPack.cpp b/SimulationRuntime/cpp/Solver/UmfPack/UmfPack.cpp index 3308360fc9a..c2284d06b8f 100644 --- a/SimulationRuntime/cpp/Solver/UmfPack/UmfPack.cpp +++ b/SimulationRuntime/cpp/Solver/UmfPack/UmfPack.cpp @@ -5,14 +5,12 @@ #ifdef USE_UMFPACK #include "umfpack.h" -#endif - #include #include #include #include namespace umf = boost::numeric::bindings::umfpack; - +#endif UmfPack::UmfPack(IAlgLoop* algLoop, ILinSolverSettings* settings) : _iterationStatus(CONTINUE), _umfpackSettings(settings), _algLoop(algLoop), _rhs(NULL), _x(NULL), _firstuse(true), _jacd(NULL) { }