From af5468c3a84b6fb099c9906e407a678d8ef4a6f9 Mon Sep 17 00:00:00 2001 From: Laurent Rineau Date: Thu, 20 Apr 2023 21:15:19 +0200 Subject: [PATCH] fix runtime error with single precision (float) --- .../Kernel_23/include/CGAL/_test_cls_aff_transformation_2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Kernel_23/test/Kernel_23/include/CGAL/_test_cls_aff_transformation_2.h b/Kernel_23/test/Kernel_23/include/CGAL/_test_cls_aff_transformation_2.h index 69f89bf9cc5..ab258f0a3d3 100644 --- a/Kernel_23/test/Kernel_23/include/CGAL/_test_cls_aff_transformation_2.h +++ b/Kernel_23/test/Kernel_23/include/CGAL/_test_cls_aff_transformation_2.h @@ -639,7 +639,7 @@ auto unit = [](CGAL::Vector_2 v) { return v / CGAL::approximate_sqrt(v*v); }; assert(p1 == p.transform(comp1) || nonexact); p1 = p.transform(refl); p1 = p1.transform(trans); - assert(p1 == p.transform(comp2)); + assert(p1 == p.transform(comp2) || nonexact); //with scaling CGAL::Aff_transformation_2 scal(CGAL::SCALING, 2); comp1 = refl*scal;