]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Make object static again to avoid run-time error.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 11 Apr 2009 04:08:10 +0000 (04:08 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 11 Apr 2009 04:08:10 +0000 (04:08 +0000)
git-svn-id: https://svn.dealii.org/trunk@18584 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-34/step-34.cc

index 602ca7163f3cd4d344558aea34f995cc330b0835..60a322a8eb261a54af4b0c9cf329ea6a0c60491a 100644 (file)
@@ -398,7 +398,7 @@ void BEMProblem<dim>::read_parameters(std::string filename) {
                                          "d simulation");
 
     prm.enter_subsection("Quadrature rules");
-    QuadratureSelector<dim-1> quadrature
+    static QuadratureSelector<dim-1> quadrature
                       (prm.get("Quadrature type"),
                        prm.get_integer("Quadrature order"));
     singular_quadrature_order = prm.get_integer("Singular quadrature order");

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.