From: Guido Kanschat Date: Tue, 5 Jan 2016 17:51:43 +0000 (+0100) Subject: Change the exception type to avoid the compiler warning X-Git-Tag: v8.4.0-rc2~112^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F2036%2Fhead;p=dealii.git Change the exception type to avoid the compiler warning --- diff --git a/include/deal.II/lac/arpack_solver.h b/include/deal.II/lac/arpack_solver.h index 48afdb8cc5..e214da6a10 100644 --- a/include/deal.II/lac/arpack_solver.h +++ b/include/deal.II/lac/arpack_solver.h @@ -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) {