mirror of https://github.com/CGAL/cgal
Core: Use Expr::is_zero() of AST
This commit is contained in:
parent
96f698ca09
commit
878d90b20e
|
|
@ -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 >
|
||||
|
|
|
|||
Loading…
Reference in New Issue