]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix TableEntry for unsigned long long int.
authorMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Sun, 19 Nov 2017 14:54:26 +0000 (15:54 +0100)
committerMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Sun, 19 Nov 2017 14:54:26 +0000 (15:54 +0100)
source/base/table_handler.cc

index 50d3c13f3f0bd90c0ba917e2f23c3f970b6245ef..61d1d2c8ef2776e95431ab675c9b9a7d9a23a5b5 100644 (file)
@@ -55,6 +55,14 @@ namespace internal
     catch (...)
       {}
 
+    // ... then with unsigned long long int...
+    try
+      {
+        return boost::get<unsigned long long int>(value);
+      }
+    catch (...)
+      {}
+
     // ...and finally with double precision:
     try
       {

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.