Skip to content

Commit

Permalink
Core: Use Expr::is_zero() of AST
Browse files Browse the repository at this point in the history
  • Loading branch information
afabri committed Jan 25, 2024
1 parent 96f698c commit 878d90b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Number_types/include/CGAL/CORE_Expr.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 >
Expand Down

0 comments on commit 878d90b

Please sign in to comment.