From: David Wells Date: Fri, 4 May 2018 00:27:25 +0000 (-0400) Subject: Add some missing enumeration switch cases. X-Git-Tag: v9.0.0-rc1~23^2~6 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f71a190d8813194f6d455c2ec610dd3b87759e29;p=dealii.git Add some missing enumeration switch cases. --- 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: