From: maier Date: Wed, 10 Jul 2013 22:42:23 +0000 (+0000) Subject: Bugfix: Fix a compilation issue if DEAL_II_WITH_UMFPACK=FALSE X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=989bd39e381d77440a34a1262b465e3811011fbd;p=dealii-svn.git Bugfix: Fix a compilation issue if DEAL_II_WITH_UMFPACK=FALSE git-svn-id: https://svn.dealii.org/trunk@29963 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/source/lac/sparse_direct.cc b/deal.II/source/lac/sparse_direct.cc index c8c91b628c..d02a9c1ce2 100644 --- a/deal.II/source/lac/sparse_direct.cc +++ b/deal.II/source/lac/sparse_direct.cc @@ -379,7 +379,7 @@ void SparseDirectUMFPACK::factorize (const Matrix &) void -SparseDirectUMFPACK::solve (Vector &) const +SparseDirectUMFPACK::solve (Vector &, bool) const { AssertThrow(false, ExcMessage("To call this function you need UMFPACK, but configured deal.II without passing the necessary switch to 'cmake'. Please consult the installation instructions in doc/readme.html.")); } @@ -387,7 +387,7 @@ SparseDirectUMFPACK::solve (Vector &) const void -SparseDirectUMFPACK::solve (BlockVector &) const +SparseDirectUMFPACK::solve (BlockVector &, bool) const { AssertThrow(false, ExcMessage("To call this function you need UMFPACK, but configured deal.II without passing the necessary switch to 'cmake'. Please consult the installation instructions in doc/readme.html.")); } @@ -396,7 +396,8 @@ SparseDirectUMFPACK::solve (BlockVector &) const template void SparseDirectUMFPACK::solve (const Matrix &, - Vector &) + Vector &, + bool) { AssertThrow(false, ExcMessage("To call this function you need UMFPACK, but configured deal.II without passing the necessary switch to 'cmake'. Please consult the installation instructions in doc/readme.html.")); } @@ -406,7 +407,8 @@ SparseDirectUMFPACK::solve (const Matrix &, template void SparseDirectUMFPACK::solve (const Matrix &, - BlockVector &) + BlockVector &, + bool) { AssertThrow(false, ExcMessage("To call this function you need UMFPACK, but configured deal.II without passing the necessary switch to 'cmake'. Please consult the installation instructions in doc/readme.html.")); }