]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix bug
authorkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 25 Feb 2014 10:11:59 +0000 (10:11 +0000)
committerkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 25 Feb 2014 10:11:59 +0000 (10:11 +0000)
git-svn-id: https://svn.dealii.org/trunk@32551 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/matrix_free/operators.h

index 7e6821e344eecd570b98ffd759dc03ee5787fd64..ac5670f928c4f72ad91b6754804abc04bb58a344 100644 (file)
@@ -179,7 +179,7 @@ namespace MatrixFreeOperators
       inverse_coefficients.size() > dofs_per_cell ? dofs_per_cell : 0;
     const VectorizedArray<Number> *inv_coefficient = &inverse_coefficients[0];
     VectorizedArray<Number> temp_data_field[dofs_per_cell];
-    for (unsigned int d=0; d<n_components; ++d)
+    for (unsigned int d=0; d<n_actual_components; ++d)
       {
         const VectorizedArray<Number>* in = in_array+d*dofs_per_cell;
         VectorizedArray<Number>* out = out_array+d*dofs_per_cell;

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.