Changed #ifdef HAVE_... to #if HAVE_...
This commit is contained in:
parent
19767d5d97
commit
410a9b73e2
@ -78,7 +78,7 @@ main(int argc, char** argv)
|
||||
parameter::ParameterGroup param(argc, argv, false);
|
||||
std::cout << "--------------- Reading parameters ---------------" << std::endl;
|
||||
|
||||
#ifndef HAVE_SUITESPARSE_UMFPACK_H
|
||||
#if ! HAVE_SUITESPARSE_UMFPACK_H
|
||||
// This is an extra check to intercept a potentially invalid request for the
|
||||
// implicit transport solver as early as possible for the user.
|
||||
{
|
||||
|
@ -55,7 +55,7 @@ namespace Opm
|
||||
const Vector b,
|
||||
Vector x)
|
||||
{
|
||||
#ifdef HAVE_SUITESPARSE_UMFPACK_H
|
||||
#if HAVE_SUITESPARSE_UMFPACK_H
|
||||
call_UMFPACK(const_cast<CSRMatrix*>(A), b, x);
|
||||
#else
|
||||
THROW("Cannot use implicit transport solver without UMFPACK. "
|
||||
@ -70,7 +70,7 @@ namespace Opm
|
||||
const Vector& b,
|
||||
Vector& x)
|
||||
{
|
||||
#ifdef HAVE_SUITESPARSE_UMFPACK_H
|
||||
#if HAVE_SUITESPARSE_UMFPACK_H
|
||||
call_UMFPACK(const_cast<CSRMatrix*>(&A), &b[0], &x[0]);
|
||||
#else
|
||||
THROW("Cannot use implicit transport solver without UMFPACK. "
|
||||
|
Loading…
Reference in New Issue
Block a user