From 1c8a7319a1653d49f711a3d68891d2df1746ed07 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Tue, 27 Mar 2018 10:17:45 -0600 Subject: [PATCH] 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. --- examples/step-35/step-35.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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