From f71a190d8813194f6d455c2ec610dd3b87759e29 Mon Sep 17 00:00:00 2001 From: David Wells Date: Thu, 3 May 2018 20:27:25 -0400 Subject: [PATCH] Add some missing enumeration switch cases. --- include/deal.II/base/exceptions.h | 7 ++++--- include/deal.II/lac/lapack_support.h | 2 ++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/include/deal.II/base/exceptions.h b/include/deal.II/base/exceptions.h index f5fbdfac88..5c0fd05fad 100644 --- a/include/deal.II/base/exceptions.h +++ b/include/deal.II/base/exceptions.h @@ -1064,10 +1064,11 @@ namespace deal_II_exceptions dealii::deal_II_exceptions::internals::abort(e); case throw_on_exception: throw e; + // this function should never return (and AssertNothrow can); + // something must have gone wrong in the error handling code for us + // to get this far, so throw an exception. + case abort_nothrow_on_exception: default: - // this function should never return; something must have gone wrong - // in the error handling code for us to get this far, so throw an - // exception. throw ::dealii::StandardExceptions::ExcInternalError(); } } diff --git a/include/deal.II/lac/lapack_support.h b/include/deal.II/lac/lapack_support.h index df40f7f5a8..03307f9e11 100644 --- a/include/deal.II/lac/lapack_support.h +++ b/include/deal.II/lac/lapack_support.h @@ -86,6 +86,8 @@ namespace LAPACKSupport return "inverse matrix"; case lu: return "lu decomposition"; + case cholesky: + return "cholesky decomposition"; case eigenvalues: return "eigenvalues"; case svd: -- 2.39.5