From e0b9f485c0098498fc16168aae206b54035681fc Mon Sep 17 00:00:00 2001 From: Denes Tarjan Date: Mon, 27 Jan 2025 13:34:35 +0000 Subject: [PATCH] Decrease randomness of API test WarpPerspectiveLinear.RandomTransform --- test/api/test_warp_perspective.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/api/test_warp_perspective.cpp b/test/api/test_warp_perspective.cpp index 482598002..db5004de5 100644 --- a/test/api/test_warp_perspective.cpp +++ b/test/api/test_warp_perspective.cpp @@ -844,7 +844,7 @@ TYPED_TEST(WarpPerspectiveLinear, RandomTransform) { float transform[9]; // Not entirely random, as very small and very big floats (in absolute value) // cause too big errors and they are far from being valid use cases anyway - test::PseudoRandomNumberGeneratorIntRange exponentGenerator(-10, 10); + test::PseudoRandomNumberGeneratorIntRange exponentGenerator(-7, 7); test::PseudoRandomNumberGeneratorFloatRange mantissaGenerator(-1.0, 1.0); for (size_t cc = 0; cc < 100; ++cc) { -- GitLab