From efc4f6d059af692fbbed2b0eb992a641870f9980 Mon Sep 17 00:00:00 2001 From: Martin Kronbichler Date: Fri, 5 Sep 2014 18:32:45 +0200 Subject: [PATCH] Fix two warnings with clang-3.5 --- source/fe/fe_values.cc | 57 ++++++++++++++++++------------------- source/grid/manifold_lib.cc | 4 +-- 2 files changed, 30 insertions(+), 31 deletions(-) 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 -- 2.39.5