From 630a5bdf06d59b8340fb4bfc0e692cbcf094026a Mon Sep 17 00:00:00 2001 From: mzuenni Date: Thu, 10 Jul 2025 17:40:18 +0200 Subject: run with sanitizer --- test/math/discreteLogarithm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/math/discreteLogarithm.cpp') diff --git a/test/math/discreteLogarithm.cpp b/test/math/discreteLogarithm.cpp index 0f9eecf..6e87e59 100644 --- a/test/math/discreteLogarithm.cpp +++ b/test/math/discreteLogarithm.cpp @@ -59,6 +59,6 @@ int main() { stress_test([](ll p){return sqrtl(p);}); stress_test([](ll p){return min(10, p - 1);}); stress_test([](ll p){return min(p - 1, sqrtl(p) + 100);}); - performance_test(); + if (!sanitize) performance_test(); } -- cgit v1.2.3