From: Martin Kronbichler Date: Mon, 18 Jan 2016 12:48:46 +0000 (+0100) Subject: Do not run into an unused block of code X-Git-Tag: v8.4.0-rc2~82^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F2077%2Fhead;p=dealii.git Do not run into an unused block of code --- diff --git a/include/deal.II/matrix_free/fe_evaluation.h b/include/deal.II/matrix_free/fe_evaluation.h index 1c94eb598f..4fb283fb9b 100644 --- a/include/deal.II/matrix_free/fe_evaluation.h +++ b/include/deal.II/matrix_free/fe_evaluation.h @@ -6020,9 +6020,11 @@ namespace internal if (integrate_grad == true) eval.template gradients<0,false,true> (gradients_quad[c][0], temp1); eval.template values<1,false,false>(temp1, temp2); - eval.template values<0,false,false> (gradients_quad[c][d1], temp1); if (integrate_grad == true) - eval.template gradients<1,false,true>(temp1, temp2); + { + eval.template values<0,false,false> (gradients_quad[c][d1], temp1); + eval.template gradients<1,false,true>(temp1, temp2); + } eval.template values<2,false,false> (temp2, values_dofs[c]); } else if (integrate_grad == true)