From d0528ffcfb9d2982e3ed72fe2be095871be8693d Mon Sep 17 00:00:00 2001 From: Guido Kanschat Date: Tue, 5 Jan 2016 18:51:43 +0100 Subject: [PATCH] Change the exception type to avoid the compiler warning --- include/deal.II/lac/arpack_solver.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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) { -- 2.39.5