Skip to content

Commit

Permalink
Fix but don't fix broken Has_static_filters for EPECK
Browse files Browse the repository at this point in the history
Tracked in CGAL#8671
  • Loading branch information
MaelRL committed Dec 20, 2024
1 parent 6b1e666 commit e534750
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion Filtered_kernel/include/CGAL/Lazy_kernel.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,18 @@ class Lazy_kernel_generic_base
typedef typename Exact_kernel::Rep_tag Rep_tag;

enum { Has_filtered_predicates = true };
enum { Has_static_filters = false };
typedef Boolean_tag<Has_filtered_predicates> Has_filtered_predicates_tag;

#ifdef CGAL_NO_STATIC_FILTERS_FOR_LAZY_KERNEL
enum { Has_static_filters = false };
#else
// @fixme, this should be 'true' but it's broken because Conditional_EPIC_predicate
// assumes the static filtered predicate and the (non-static) filtered predicate
// have the same signature, which is not always the case, for example in
// Do_intersect_3(Sphere_3, Bbox_3, *bool*)
enum { Has_static_filters = false };
#endif

// Types
typedef CGAL::Lazy_exact_nt<typename Exact_kernel::FT> FT;
typedef FT RT;
Expand Down

0 comments on commit e534750

Please sign in to comment.