From 23d019d1badad61cecf9fc6b8f3e9f794cb0c983 Mon Sep 17 00:00:00 2001 From: bangerth Date: Mon, 16 Nov 2009 14:19:50 +0000 Subject: [PATCH] Use a different variable name to avoid hiding a member of the class (and generating a warning with Sun CC). git-svn-id: https://svn.dealii.org/trunk@20120 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/base/source/data_out_base.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/deal.II/base/source/data_out_base.cc b/deal.II/base/source/data_out_base.cc index da31afcb45..9608672a0a 100644 --- a/deal.II/base/source/data_out_base.cc +++ b/deal.II/base/source/data_out_base.cc @@ -989,9 +989,10 @@ template bool DataOutBase::Patch::operator == (const Patch &patch) const { - const double eps=3e-16; +//TODO: make tolerance relative + const double epsilon=3e-16; for (unsigned int i=0; i::vertices_per_cell; ++i) - if (vertices[i].distance(patch.vertices[i]) > eps) + if (vertices[i].distance(patch.vertices[i]) > epsilon) return false; for (unsigned int i=0; i::faces_per_cell; ++i) -- 2.39.5