Changed #ifdef HAVE_... to #if HAVE_...

This commit is contained in:
Atgeirr Flø Rasmussen 2013-03-19 13:33:07 +01:00
parent 19767d5d97
commit 410a9b73e2
2 changed files with 3 additions and 3 deletions

View File

@ -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.
{

View File

@ -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. "