]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix an actual bug: wrong index
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 26 Oct 2007 01:07:16 +0000 (01:07 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 26 Oct 2007 01:07:16 +0000 (01:07 +0000)
git-svn-id: https://svn.dealii.org/trunk@15380 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 18060472cecf31fb97fa12eb13d3f0e736ba7f07..d32f1ae4db84cdc19c16bbcb9020d43df6344e62 100644 (file)
@@ -1068,7 +1068,7 @@ assemble_system_interval (const typename DoFHandler<dim>::active_cell_iterator &
                             delta *
                             (advection_directions[q_point] *
                              fe_values.shape_grad(i,q_point))        ) *
-                           rhs_values[i] *
+                           rhs_values[q_point] *
                            fe_values.JxW (q_point));
          };
 

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.