From: Wolfgang 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-Tag: v8.0.0~6808 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce609cef4279a25fb99f75402f80a6cd25f23250;p=dealii.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)