Skip to content
Snippets Groups Projects
Forked from agnumpde / dune-elasticity
73 commits behind the upstream repository.
dune-common-densematrix-adolc-workaround.diff 509 B
diff --git a/dune/common/densematrix.hh b/dune/common/densematrix.hh
index b03bbb0b..917ecef9 100644
--- a/dune/common/densematrix.hh
+++ b/dune/common/densematrix.hh
@@ -897,7 +897,7 @@ namespace Dune
         for (size_type k=i+1; k<A.rows(); k++)
         {
           auto abs = fvmeta::absreal(A[k][i]);
-          auto mask = abs > pivmax;
+          bool mask = abs > pivmax;
           pivmax = Simd::cond(mask, abs, pivmax);
           imax   = Simd::cond(mask, simd_index_type(k), imax);
         }