]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Hm, that doesn't work. Try std::fpclassify instead.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 27 Dec 2012 01:50:21 +0000 (01:50 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 27 Dec 2012 01:50:21 +0000 (01:50 +0000)
git-svn-id: https://svn.dealii.org/trunk@27857 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/contrib/boost-1.49.0/include/boost/functional/hash/detail/hash_float.hpp

index 93526bcbefe9e7625a43e4a976bff17be9d77064..c4b3ebe18d5f1cca3c7fec855dda8e059a51b3ef 100644 (file)
@@ -62,7 +62,7 @@ namespace boost
         inline std::size_t float_hash_value(T v)
         {
             using namespace std;
-            switch (::fpclassify(v)) {
+            switch (std::fpclassify(v)) {
             case FP_ZERO:
                 return 0;
             case FP_INFINITE:

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.