From: Wolfgang Bangerth Date: Tue, 27 Mar 2018 16:17:45 +0000 (-0600) Subject: Fix odd use of comma operator. X-Git-Tag: v9.0.0-rc1~277^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F6108%2Fhead;p=dealii.git Fix odd use of comma operator. step-35 uses an odd way of concatenating two 'void' statements, using operator comma where a semicolon was intended. Fix this. This was pointed out to me by my student Chen Shen. --- diff --git a/examples/step-35/step-35.cc b/examples/step-35/step-35.cc index 7b7f08cff9..99cba265ab 100644 --- a/examples/step-35/step-35.cc +++ b/examples/step-35/step-35.cc @@ -1310,8 +1310,8 @@ namespace Step35 for (; joint_cell != joint_endc; ++joint_cell, ++vel_cell, ++pres_cell) { joint_cell->get_dof_indices (loc_joint_dof_indices); - vel_cell->get_dof_indices (loc_vel_dof_indices), - pres_cell->get_dof_indices (loc_pres_dof_indices); + vel_cell->get_dof_indices (loc_vel_dof_indices); + pres_cell->get_dof_indices (loc_pres_dof_indices); for (unsigned int i=0; i