From 082129d52d6fb1eec60c379afce541da48d0b837 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Mon, 16 Nov 2009 14:00:55 +0000 Subject: [PATCH] Qualify fabs properly with std::. git-svn-id: https://svn.dealii.org/trunk@20116 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/source/fe/fe_q.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/deal.II/deal.II/source/fe/fe_q.cc b/deal.II/deal.II/source/fe/fe_q.cc index f3df8e23f8..59f85881e7 100644 --- a/deal.II/deal.II/source/fe/fe_q.cc +++ b/deal.II/deal.II/source/fe/fe_q.cc @@ -941,9 +941,9 @@ get_face_interpolation_matrix (const FiniteElement &x_source_fe, // 1 or 0. Unfortunately, this // is required to avoid problems // with higher order elements. - if (fabs (matrix_entry - 1.0) < eps) + if (std::fabs (matrix_entry - 1.0) < eps) matrix_entry = 1.0; - if (fabs (matrix_entry) < eps) + if (std::fabs (matrix_entry) < eps) matrix_entry = 0.0; interpolation_matrix(i,j) = matrix_entry; @@ -1049,9 +1049,9 @@ get_subface_interpolation_matrix (const FiniteElement &x_source_fe // 1 or 0. Unfortunately, this // is required to avoid problems // with higher order elements. - if (fabs (matrix_entry - 1.0) < eps) + if (std::fabs (matrix_entry - 1.0) < eps) matrix_entry = 1.0; - if (fabs (matrix_entry) < eps) + if (std::fabs (matrix_entry) < eps) matrix_entry = 0.0; interpolation_matrix(i,j) = matrix_entry; -- 2.39.5