]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix a poorly written and dysfunctional assert condition. 11883/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Thu, 11 Mar 2021 21:49:31 +0000 (22:49 +0100)
committerWolfgang Bangerth <bangerth@colostate.edu>
Thu, 11 Mar 2021 21:49:31 +0000 (22:49 +0100)
source/lac/trilinos_sparse_matrix.cc

index 68718d448c3e2dbedf92de6734ad803de041cd8a..a15bb1757af6f21dab5b78e68b9e4eaf03897291 100644 (file)
@@ -2215,7 +2215,7 @@ namespace TrilinosWrappers
                                         const_cast<Epetra_CrsMatrix &>(
                                           tmp_result.trilinos_matrix()));
 #  else
-      Assert("false",
+      Assert(false,
              ExcMessage("This function requires that the Trilinos "
                         "installation found while running the deal.II "
                         "CMake scripts contains the optional Trilinos "

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.