modified the exactness check again so as not to use the deprecated check_tag function

This commit is contained in:
Menelaos Karavelas 2010-03-01 09:53:07 +00:00
parent 172714f57a
commit 9bbfaf3cce
2 changed files with 3 additions and 3 deletions

View File

@ -451,7 +451,7 @@ public:
#ifdef CGAL_PROFILE
// In case CGAL profile is called then output the sites in case of
// a filter failure
if ( check_tag(typename Algebraic_structure_traits<FT>::Is_exact()) ) {
if ( Algebraic_structure_traits<FT>::Is_exact::value ) {
int np = 0;
if ( p.is_point() ) ++np;
if ( q.is_point() ) ++np;
@ -493,7 +493,7 @@ public:
#ifdef CGAL_PROFILE
// In case CGAL profile is called then output the sites in case of
// a filter failure
if ( check_tag(typename Algebraic_structure_traits<FT>::Is_exact()) ) {
if ( Algebraic_structure_traits<FT>::Is_exact::value ) {
std::ofstream ofs("failure-log.cin", std::ios_base::app);
ofs.precision(16);
ofs << p << std::endl;

View File

@ -102,7 +102,7 @@ private:
#ifdef CGAL_PROFILE
// In case CGAL profile is called then output the sites in case of
// a filter failure
if ( check_tag(typename Algebraic_structure_traits<FT>::Is_exact()) ) {
if ( Algebraic_structure_traits<FT>::Is_exact::value ) {
std::ofstream ofs("vv-failure-log.cin", std::ios_base::app);
ofs.precision(16);
ofs << p << std::endl;