diff --git a/dune/gfe/polardecomposition.hh b/dune/gfe/polardecomposition.hh index 3665392bd6df7c79f9f2c9b138618109fcddde27..7d48b9bee1698cecd6d67a064ce71d87ad8112f0 100644 --- a/dune/gfe/polardecomposition.hh +++ b/dune/gfe/polardecomposition.hh @@ -248,9 +248,9 @@ namespace Dune::GFE { for (int i = 0; i < 4; ++i) { - if ( i != maxi & i != mini ) { + if ( i != maxi && i != mini ) { for (int j = 0; j < 4; ++j) { - if ( j != maxi & j != mini & j != i ) { + if ( j != maxi && j != mini && j != i ) { if ( Bdiag[i] < Bdiag[j] ) { Pleft[1][j] = 1; // Second largest element at the second position Pright[j][1] = 1;