]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Kokkos::Experimental::abs -> Kokkos::Experimental::fabs
authorDaniel Arndt <arndtd@ornl.gov>
Thu, 29 Dec 2022 09:01:07 +0000 (10:01 +0100)
committerDaniel Arndt <arndtd@ornl.gov>
Thu, 29 Dec 2022 09:01:07 +0000 (10:01 +0100)
bundled/boost-1.70.0/include/boost/mpl/print.hpp
include/deal.II/base/config.h.in
include/deal.II/lac/vector_operations_internal.h

index 36e25cd3e7d0156ce17461ef789c66065f3c5961..cfbc1196747be648c5fd4176a9ea24c11084efc9 100644 (file)
@@ -61,7 +61,7 @@ struct print
 # if defined(__EDG_VERSION__)
            aux::dependent_unsigned<T>::value > -1
 # else 
-           sizeof(T) > -1
+           sizeof(T) > std::size_t(-1)
 # endif 
         };
 #endif 
index 47e0644ff1e29a04d633ac5b67970ddfade8d4b5..0a36b957ac4bae5370674c6b6d4d58b6e78a1711 100644 (file)
@@ -490,6 +490,7 @@ _Pragma("GCC diagnostic ignored \"-Wint-in-bool-context\"")             \
 _Pragma("GCC diagnostic ignored \"-Wmisleading-indentation\"")          \
 _Pragma("GCC diagnostic ignored \"-Wmissing-field-initializers\"")      \
 _Pragma("GCC diagnostic ignored \"-Wnested-anon-types\"")               \
+_Pragma("GCC diagnostic ignored \"-Wnon-template-friend\"")             \
 _Pragma("GCC diagnostic ignored \"-Wnon-virtual-dtor\"")                \
 _Pragma("GCC diagnostic ignored \"-Wnonnull\"")                         \
 _Pragma("GCC diagnostic ignored \"-Woverflow\"")                        \
index 8d1de426574f5311b9763a85773d7dee8a193bc9..a8a277f5771f5ec65b8b47e543392e80cbf2932f 100644 (file)
@@ -2529,7 +2529,7 @@ namespace internal
 #if KOKKOS_VERSION < 30400
             update += abs(data.values(i));
 #elif KOKKOS_VERSION < 30700
-            update += Kokkos::Experimental::abs(data.values(i));
+            update += Kokkos::Experimental::fabs(data.values(i));
 #else
             update += Kokkos::abs(data.values(i));
 #endif
@@ -2559,7 +2559,7 @@ namespace internal
             update += pow(fabs(data.values(i)), exp);
 #elif KOKKOS_VERSION < 30700
             update += Kokkos::Experimental::pow(
-              Kokkos::Experimental::abs(data.values(i)), exp);
+              Kokkos::Experimental::fabs(data.values(i)), exp);
 #else
             update += Kokkos::pow(Kokkos::abs(data.values(i)), exp);
 #endif

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.