]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
make step6 compile again
authorheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 3 Mar 2014 14:37:25 +0000 (14:37 +0000)
committerheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 3 Mar 2014 14:37:25 +0000 (14:37 +0000)
git-svn-id: https://svn.dealii.org/trunk@32604 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 954ac8aa3b8109813c6bbb80968f56b2ca1eed9a..5dcd8ecee8806a7f3cf891068710260eb5689ee5 100644 (file)
@@ -426,7 +426,7 @@ void Step6<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.