From: bangerth Date: Mon, 16 Nov 2009 14:19:50 +0000 (+0000) Subject: Use a different variable name to avoid hiding a member of the class (and X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23d019d1badad61cecf9fc6b8f3e9f794cb0c983;p=dealii-svn.git 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 --- 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)