]> https://gitweb.dealii.org/ - release-papers.git/commitdiff
fix code
authorTimo Heister <timo.heister@gmail.com>
Thu, 24 Jun 2021 15:48:54 +0000 (11:48 -0400)
committerTimo Heister <timo.heister@gmail.com>
Thu, 24 Jun 2021 15:48:54 +0000 (11:48 -0400)
9.3/paper.tex

index 1c484ce05c02e4895f4420a11141296c5203aa38..6f2f9721109031c650dd4c1fad2c75af6873d3bd 100644 (file)
@@ -689,7 +689,7 @@ Vector<double> local_rhs;
 for (const auto &cell : dof_handler.active_cell_iterators())
  {
    hp_fe_values.reinit(cell);
-   local_rhs.resize(cell->get_fe().n_dofs_per_cell());
+   local_rhs.reinit(cell->get_fe().n_dofs_per_cell());
    // ...
  }
 \end{c++}

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.