From b044dd385e6d35252db8350576eff67df1810884 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Wed, 10 Jul 2013 22:42:23 +0000 Subject: [PATCH] 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 --- deal.II/source/lac/sparse_direct.cc | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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.")); } -- 2.39.5