From: Martin Kronbichler Date: Fri, 5 Sep 2014 16:32:45 +0000 (+0200) Subject: Fix two warnings with clang-3.5 X-Git-Tag: v8.2.0-rc1~157^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=efc4f6d059af692fbbed2b0eb992a641870f9980;p=dealii.git Fix two warnings with clang-3.5 --- diff --git a/source/fe/fe_values.cc b/source/fe/fe_values.cc index 3169217a6c..06cb38946d 100644 --- a/source/fe/fe_values.cc +++ b/source/fe/fe_values.cc @@ -966,38 +966,37 @@ namespace FEValuesViews for (unsigned int shape_function=0; shape_function *shape_hessian_ptr = - &shape_hessians[snc][0]; - for (unsigned int q_point=0; q_point *shape_hessian_ptr = - &shape_hessians[shape_function_data[shape_function]. - row_index[d]][0]; - for (unsigned int q_point=0; q_point *shape_hessian_ptr = + &shape_hessians[snc][0]; + for (unsigned int q_point=0; q_point *shape_hessian_ptr = + &shape_hessians[shape_function_data[shape_function]. + row_index[d]][0]; + for (unsigned int q_point=0; q_point::push_forward(const Point &cha pull_back_function->vector_value(result, pb); for (unsigned int i=0; i tolerance && - (abs(pb[i]-chart_point[i]) < tolerance*chart_point.norm())) || - (abs(pb[i]-chart_point[i]) < tolerance), + (std::abs(pb[i]-chart_point[i]) < tolerance*chart_point.norm())) || + (std::abs(pb[i]-chart_point[i]) < tolerance), ExcMessage("The push forward is not the inverse of the pull back! Bailing out.")); #endif