Core: Use Expr::is_zero() of AST

This commit is contained in:
Andreas Fabri 2024-01-25 17:46:41 +00:00
parent 96f698ca09
commit 878d90b20e
1 changed files with 8 additions and 0 deletions

View File

@ -115,6 +115,14 @@ template <> class Algebraic_structure_traits< CORE::Expr >
}; */
};
class Is_zero
: public CGAL::cpp98::unary_function< Type, bool > {
public:
bool operator()( const Type& x ) const {
return x.isZero();
}
};
};
template <> class Real_embeddable_traits< CORE::Expr >