From fadaedb4268625fa22b8fda4f6f9d6ad9c172c46 Mon Sep 17 00:00:00 2001 From: bonito Date: Tue, 1 Mar 2011 22:48:03 +0000 Subject: [PATCH] Chose a quadrature formula compatible with the fe_degree git-svn-id: https://svn.dealii.org/trunk@23452 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/step-38/step-38.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deal.II/examples/step-38/step-38.cc b/deal.II/examples/step-38/step-38.cc index 56e1e6c102..54926ba4ad 100644 --- a/deal.II/examples/step-38/step-38.cc +++ b/deal.II/examples/step-38/step-38.cc @@ -427,7 +427,7 @@ void LaplaceBeltramiProblem::assemble_system () system_matrix = 0; system_rhs = 0; - const QGauss quadrature_formula(2); + const QGauss quadrature_formula(2*fe.degree); FEValues fe_values (mapping, fe, quadrature_formula, update_values | update_gradients | -- 2.39.5