]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Avoid anonymous namespace. 5270/head
authorMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Fri, 20 Oct 2017 08:28:16 +0000 (10:28 +0200)
committerMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Fri, 20 Oct 2017 08:28:16 +0000 (10:28 +0200)
include/deal.II/base/partitioner.templates.h

index 1e3a15691307c71751d73e815effecdb328c36cb..0b0a45e567f484299ade3471ded51f1eaca429fe 100644 (file)
@@ -283,7 +283,7 @@ namespace Utilities
 
 
 
-    namespace
+    namespace internal
     {
       // In the import_from_ghosted_array_finish we need to invoke abs() also
       // on unsigned data types, which is ill-formed on newer C++
@@ -379,8 +379,8 @@ namespace Utilities
                 // the face, values on this face obtained from each side might
                 // be different due to additions being done in different order.
                 Assert(*read_position == Number() ||
-                       get_abs(locally_owned_array[j] - *read_position) <=
-                       get_abs(locally_owned_array[j] + *read_position) *
+                       internal::get_abs(locally_owned_array[j] - *read_position) <=
+                       internal::get_abs(locally_owned_array[j] + *read_position) *
                        100000. *
                        std::numeric_limits<typename numbers::NumberTraits<Number>::real_type>::epsilon(),
                        typename LinearAlgebra::distributed::Vector<Number>::

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.