mirror of https://github.com/CGAL/cgal
modified the exactness check again so as not to use the deprecated check_tag function
This commit is contained in:
parent
172714f57a
commit
9bbfaf3cce
|
|
@ -451,7 +451,7 @@ public:
|
||||||
#ifdef CGAL_PROFILE
|
#ifdef CGAL_PROFILE
|
||||||
// In case CGAL profile is called then output the sites in case of
|
// In case CGAL profile is called then output the sites in case of
|
||||||
// a filter failure
|
// a filter failure
|
||||||
if ( check_tag(typename Algebraic_structure_traits<FT>::Is_exact()) ) {
|
if ( Algebraic_structure_traits<FT>::Is_exact::value ) {
|
||||||
int np = 0;
|
int np = 0;
|
||||||
if ( p.is_point() ) ++np;
|
if ( p.is_point() ) ++np;
|
||||||
if ( q.is_point() ) ++np;
|
if ( q.is_point() ) ++np;
|
||||||
|
|
@ -493,7 +493,7 @@ public:
|
||||||
#ifdef CGAL_PROFILE
|
#ifdef CGAL_PROFILE
|
||||||
// In case CGAL profile is called then output the sites in case of
|
// In case CGAL profile is called then output the sites in case of
|
||||||
// a filter failure
|
// 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);
|
std::ofstream ofs("failure-log.cin", std::ios_base::app);
|
||||||
ofs.precision(16);
|
ofs.precision(16);
|
||||||
ofs << p << std::endl;
|
ofs << p << std::endl;
|
||||||
|
|
|
||||||
|
|
@ -102,7 +102,7 @@ private:
|
||||||
#ifdef CGAL_PROFILE
|
#ifdef CGAL_PROFILE
|
||||||
// In case CGAL profile is called then output the sites in case of
|
// In case CGAL profile is called then output the sites in case of
|
||||||
// a filter failure
|
// 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);
|
std::ofstream ofs("vv-failure-log.cin", std::ios_base::app);
|
||||||
ofs.precision(16);
|
ofs.precision(16);
|
||||||
ofs << p << std::endl;
|
ofs << p << std::endl;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue