]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Catch and rethrow *all* exceptions. 15187/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Fri, 5 May 2023 20:33:21 +0000 (14:33 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Tue, 9 May 2023 20:15:41 +0000 (14:15 -0600)
source/sundials/kinsol.cc

index a1db0684e1fae3d6dc4db15c17c9c2b78494ee36..fa4d330f84af48a8e2f6361378ed723c8e982a2d 100644 (file)
@@ -115,7 +115,7 @@ namespace SUNDIALS
         }
       // For any other exception, capture the exception and
       // return -1:
-      catch (const std::exception &)
+      catch (...)
         {
           eptr = std::current_exception();
           return -1;

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.