]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Introduced an error in version 16701, which is now fixed.
authorkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 1 Sep 2008 13:03:09 +0000 (13:03 +0000)
committerkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 1 Sep 2008 13:03:09 +0000 (13:03 +0000)
git-svn-id: https://svn.dealii.org/trunk@16703 0785d39b-7218-0410-832d-ea1e28bc413d

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

index c2ac126e028c9b3ed57a3a99e031081c84c2b9ba..170fe0a8d0e523e8d396d5e8ccc04ec6e545891d 100644 (file)
@@ -1191,7 +1191,7 @@ BoussinesqFlowProblem<dim>::build_stokes_preconditioner ()
 
   std::vector<double> null_space;
   std::vector<bool>  velocity_components (dim+1,true);
-  velocity[dim] = false;
+  velocity_components[dim] = false;
   DoFTools::extract_constant_modes (stokes_dof_handler, velocity_components, 
                                    null_space);
   Amg_preconditioner->initialize(stokes_preconditioner_matrix.block(0,0),

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.