]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Mark DEAL_II_ALWAYS_INLINE function as inline 8454/head
authorDaniel Arndt <arndtd@ornl.gov>
Mon, 5 Aug 2019 12:42:16 +0000 (08:42 -0400)
committerDaniel Arndt <arndtd@ornl.gov>
Mon, 5 Aug 2019 12:42:16 +0000 (08:42 -0400)
include/deal.II/base/symmetric_tensor.h

index 4e61bcc597f1b80be2081183bcb4b49d4e17b721..b9a7adc70386363824315af8aba119b348cc0438 100644 (file)
@@ -2652,8 +2652,8 @@ constexpr DEAL_II_ALWAYS_INLINE Number
  * @author Wolfgang Bangerth, 2005
  */
 template <int dim, typename Number>
-DEAL_II_CONSTEXPR DEAL_II_ALWAYS_INLINE Number
-                                        trace(const SymmetricTensor<2, dim, Number> &d)
+DEAL_II_CONSTEXPR inline DEAL_II_ALWAYS_INLINE Number
+                                               trace(const SymmetricTensor<2, dim, Number> &d)
 {
   Number t = d.data[0];
   for (unsigned int i = 1; i < dim; ++i)

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.