From: bangerth Date: Mon, 23 Dec 2013 15:43:14 +0000 (+0000) Subject: Issue pointed out by Jean Ragusa: No need to set system_rhs to zero, sicne the reinit... X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2dcaaa41e192a101e02d76bc1564919413e51b34;p=dealii-svn.git Issue pointed out by Jean Ragusa: No need to set system_rhs to zero, sicne the reinit() immediately above it already does that. git-svn-id: https://svn.dealii.org/trunk@32102 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/examples/step-40/step-40.cc b/deal.II/examples/step-40/step-40.cc index d02184477e..3a99cd12fa 100644 --- a/deal.II/examples/step-40/step-40.cc +++ b/deal.II/examples/step-40/step-40.cc @@ -264,8 +264,6 @@ namespace Step40 locally_relevant_dofs, mpi_communicator); system_rhs.reinit (locally_owned_dofs, mpi_communicator); - system_rhs = 0; - // The next step is to compute hanging node and boundary value // constraints, which we combine into a single object storing all // constraints.