Skip to content

Commit

Permalink
fix in umfpack solver, only include umfpack.h if umfpack was found
Browse files Browse the repository at this point in the history
  • Loading branch information
niklwors committed Jul 30, 2015
1 parent 1577288 commit 3bea645
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions SimulationRuntime/cpp/Solver/UmfPack/UmfPack.cpp
Expand Up @@ -5,14 +5,12 @@

#ifdef USE_UMFPACK
#include "umfpack.h"
#endif

#include <Core/Utils/numeric/bindings/umfpack/umfpack.hpp>
#include <Core/Utils/numeric/bindings/ublas/vector.hpp>
#include <Core/Utils/numeric/bindings/ublas.hpp>
#include <boost/numeric/ublas/io.hpp>
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)
{
}
Expand Down

0 comments on commit 3bea645

Please sign in to comment.