From: heister Date: Thu, 21 Nov 2013 15:54:28 +0000 (+0000) Subject: remove one clang compiler warning X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b754c03205cf73138a2c640fc7a987487c3c5d1;p=dealii-svn.git remove one clang compiler warning git-svn-id: https://svn.dealii.org/trunk@31750 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/source/fe/mapping_q1.cc b/deal.II/source/fe/mapping_q1.cc index 7c708daea1..e8f7ec4dd5 100644 --- a/deal.II/source/fe/mapping_q1.cc +++ b/deal.II/source/fe/mapping_q1.cc @@ -1240,6 +1240,9 @@ void MappingQ1::transform_fields( Assert (data.update_flags & update_volume_elements, typename FEValuesBase::ExcAccessToUninitializedField()); Assert (rank==1, ExcMessage("Only for rank 1")); + if (rank!=1) + return; + for (unsigned int i=0; i