]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Change the exception type to avoid the compiler warning 2036/head
authorGuido Kanschat <dr.guido.kanschat@gmail.com>
Tue, 5 Jan 2016 17:51:43 +0000 (18:51 +0100)
committerGuido Kanschat <dr.guido.kanschat@gmail.com>
Tue, 5 Jan 2016 20:52:10 +0000 (21:52 +0100)
include/deal.II/lac/arpack_solver.h

index 48afdb8cc5789c700bbc41b88809e6ec0b9dafcb..e214da6a10da1b8ae41ed23fee1951260b1703b4 100644 (file)
@@ -230,10 +230,10 @@ private:
                   << "Maximum number " << arg1
                   << " of iterations reached.");
 
-  DeclException1 (ExcArpackNoShifts, int,
-                  << "No shifts could be applied during implicit"
-                  << " Arnoldi update, try increasing the number of"
-                  << " Arnoldi vectors.");
+  DeclExceptionMsg (ExcArpackNoShifts,
+                    "No shifts could be applied during implicit"
+                    " Arnoldi update, try increasing the number of"
+                    " Arnoldi vectors.");
 };
 
 
@@ -515,7 +515,7 @@ void ArpackSolver::solve (const MatrixType1                  &system_matrix,
         }
       else if (info == 3)
         {
-          Assert (false, ExcArpackNoShifts(1));
+          Assert (false, ExcArpackNoShifts());
         }
       else if (info!=0)
         {

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.