From 15760cfc78105d11a8f25ef95f00ca339e827d1a Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Wed, 2 Jul 2025 17:08:49 +0100 Subject: [PATCH] In 5D we enter Orientation_5, but not in 4D. why? --- .../include/CGAL/NewKernel_d/Cartesian_static_filters.h | 2 +- Triangulation/benchmark/Triangulation/bench5d.cpp | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/NewKernel_d/include/CGAL/NewKernel_d/Cartesian_static_filters.h b/NewKernel_d/include/CGAL/NewKernel_d/Cartesian_static_filters.h index d1639ca46e7..a630fdca5cb 100644 --- a/NewKernel_d/include/CGAL/NewKernel_d/Cartesian_static_filters.h +++ b/NewKernel_d/include/CGAL/NewKernel_d/Cartesian_static_filters.h @@ -342,7 +342,7 @@ struct Cartesian_static_filters, R_, Derived_> : public R_ { }; }; -#ifndef CGAL_NO_STATIC_FILTER_5 +#ifndef CGAL_NO_STATIC_FILTER_456 template struct Cartesian_static_filters, R_, Derived_> : public R_ { diff --git a/Triangulation/benchmark/Triangulation/bench5d.cpp b/Triangulation/benchmark/Triangulation/bench5d.cpp index 2bf6fc90bfc..e605c53f9fd 100644 --- a/Triangulation/benchmark/Triangulation/bench5d.cpp +++ b/Triangulation/benchmark/Triangulation/bench5d.cpp @@ -1,3 +1,5 @@ +// Switch off the static filters for 4, 5, and 6 points. +// #define CGAL_NO_STATIC_FILTER_456 #include #include @@ -23,7 +25,7 @@ int main() const int D = 5; // we work in Euclidean 5-space std::vector points; - std::ifstream in("points.txt"); + std::ifstream in("points_5.txt"); Triangulation::Point p; int d; in >> d;