diff --git a/dune/gfe/nonplanarcosseratshellenergy.hh b/dune/gfe/nonplanarcosseratshellenergy.hh index 7378f35614ae49253c39431f16f711830aa95718..c8c48f7b076e95fd6093144b37cfb1792d74552d 100644 --- a/dune/gfe/nonplanarcosseratshellenergy.hh +++ b/dune/gfe/nonplanarcosseratshellenergy.hh @@ -347,7 +347,7 @@ energy(const typename Basis::LocalView& localView, { for (int j=0; j<dimworld; j++) aCovariant[i][j] = jacobianTransposed[i][j]; - for (int j=dimworld; j<3; i++) + for (int j=dimworld; j<3; j++) aCovariant[i][j] = 0.0; }