]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fail also in optimized mode if umfpack wasn't configured, rather than silently
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 23 May 2011 18:21:21 +0000 (18:21 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 23 May 2011 18:21:21 +0000 (18:21 +0000)
producing wrong results. I've seen several people run into this already now...

git-svn-id: https://svn.dealii.org/trunk@23740 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/lac/sparse_direct.cc

index b7d897d1347b759074afe91cb46c761ade5f202c..b003870bf4aab8e75954cc0d8021e8ad6f9bc9dc 100644 (file)
@@ -1840,14 +1840,14 @@ SparseDirectUMFPACK::clear ()
 template <class Matrix>
 void SparseDirectUMFPACK::factorize (const Matrix &)
 {
-  Assert(false, ExcNeedsUMFPACK());
+  AssertThrow(false, ExcNeedsUMFPACK());
 }
 
 
 void
 SparseDirectUMFPACK::solve (Vector<double> &) const
 {
-  Assert(false, ExcNeedsUMFPACK());
+  AssertThrow(false, ExcNeedsUMFPACK());
 }
 
 
@@ -1856,7 +1856,7 @@ void
 SparseDirectUMFPACK::solve (const Matrix   &,
                             Vector<double> &)
 {
-  Assert(false, ExcNeedsUMFPACK());
+  AssertThrow(false, ExcNeedsUMFPACK());
 }
 
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.