]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add some missing enumeration switch cases.
authorDavid Wells <wellsd2@rpi.edu>
Fri, 4 May 2018 00:27:25 +0000 (20:27 -0400)
committerDavid Wells <wellsd2@rpi.edu>
Fri, 4 May 2018 01:25:01 +0000 (21:25 -0400)
include/deal.II/base/exceptions.h
include/deal.II/lac/lapack_support.h

index f5fbdfac88ae914c09204a93c767562d0665fa89..5c0fd05fad12a78200601dfcacb15dca357bdb6b 100644 (file)
@@ -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();
         }
     }
index df40f7f5a87e4b8d9d851c1f80f8ad9fcd3869d3..03307f9e113af9b0c5e55abe5fdb7612e3ba400d 100644 (file)
@@ -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:

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.