]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Use AssertThrow when no LAPACK is installed
authorTimo Heister <timo.heister@gmail.com>
Sat, 15 Feb 2020 04:42:27 +0000 (23:42 -0500)
committerTimo Heister <timo.heister@gmail.com>
Sat, 15 Feb 2020 04:42:27 +0000 (23:42 -0500)
This bit me on a run in release mode on a cluster today, because my
deal.II didn't have a working LAPACK.

source/lac/tridiagonal_matrix.cc

index 57078e78d1142ffe3f205e31a21f0860305d1ead..031878cd0026dc1c772572ab966ab333ef7af713 100644 (file)
@@ -253,7 +253,7 @@ TridiagonalMatrix<number>::compute_eigenvalues()
 
   state = LAPACKSupport::eigenvalues;
 #else
-  Assert(false, ExcNeedsLAPACK());
+  AssertThrow(false, ExcNeedsLAPACK());
 #endif
 }
 

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.