]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Prior to C++11, fmin is a C99 function and not in namespace std
authorkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 31 Jan 2014 07:20:16 +0000 (07:20 +0000)
committerkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 31 Jan 2014 07:20:16 +0000 (07:20 +0000)
git-svn-id: https://svn.dealii.org/trunk@32353 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/base/event.h

index 8e7d5ad938c55c447e5ef888cd663484e0a9edcb..e27184e3ca9e6f7cb08d53f7be80b6c47442fd6c 100644 (file)
@@ -202,7 +202,7 @@ namespace Algorithms
 
     const unsigned int n = flags.size();
     const unsigned int m = event.flags.size();
-    const unsigned int n_min = std::fmin(n, m);
+    const unsigned int n_min = fmin(n, m);
 
     // Now, if all_true set in the
     // other, then all must be true

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.