]> https://gitweb.dealii.org/ - dealii.git/commitdiff
make step5 compile again
authorTimo Heister <timo.heister@gmail.com>
Mon, 3 Mar 2014 14:36:33 +0000 (14:36 +0000)
committerTimo Heister <timo.heister@gmail.com>
Mon, 3 Mar 2014 14:36:33 +0000 (14:36 +0000)
git-svn-id: https://svn.dealii.org/trunk@32603 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 66169fee91f79b02e0a0c8c05d3d3c7eaf5e3221..84ea9c5d5dca708cb117db675d2ad07113bf26d0 100644 (file)
@@ -369,7 +369,7 @@ void Step5<dim>::assemble_system ()
       coefficient.value_list (fe_values.get_quadrature_points(),
                               coefficient_values);
 
-      for (unsigned int q_index=0; q_index<n_q_indexs; ++q_index)
+      for (unsigned int q_index=0; q_index<n_q_points; ++q_index)
         for (unsigned int i=0; i<dofs_per_cell; ++i)
           {
             for (unsigned int j=0; j<dofs_per_cell; ++j)

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.