]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Debugging value reset
authorguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 8 Jul 2002 18:09:48 +0000 (18:09 +0000)
committerguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 8 Jul 2002 18:09:48 +0000 (18:09 +0000)
git-svn-id: https://svn.dealii.org/trunk@6226 0785d39b-7218-0410-832d-ea1e28bc413d

tests/base/polynomial1d.cc

index efc0ae8c31b435dc7e6e8d2f1c48a407571e8ba6..fc8b312d41c37633554ea5177225078075ae91c6 100644 (file)
@@ -24,7 +24,7 @@ double scalar_product (const Polynomial<double>& p1,
                       const Polynomial<double>& p2)
 {
   unsigned int degree = (p1.degree() + p2.degree())/2 + 1;
-  QGauss<1> gauss(degree+3);
+  QGauss<1> gauss(degree);
 
   double sum = 0.;
   for (unsigned int i=0;i<gauss.n_quadrature_points;++i)

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.