From: Timo Heister Date: Thu, 21 Nov 2013 15:54:28 +0000 (+0000) Subject: remove one clang compiler warning X-Git-Tag: v8.1.0~216 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68d6d1728fd1e3c882bcf0553684fa38a5aa1cdf;p=dealii.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