From bf58fca6ccc05fddd5b4eb6ba81e2c0339e63bdd Mon Sep 17 00:00:00 2001 From: Ankush Menat Date: Thu, 19 Dec 2024 18:39:38 +0530 Subject: [PATCH] fix: rounding method is not typically specified! --- caffeine/microbenchmarks/bench_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/caffeine/microbenchmarks/bench_utils.py b/caffeine/microbenchmarks/bench_utils.py index 4166838..78f5445 100644 --- a/caffeine/microbenchmarks/bench_utils.py +++ b/caffeine/microbenchmarks/bench_utils.py @@ -58,7 +58,7 @@ def cache_in_redis(num): bench_flt_typical = NanoBenchmark( - """flt(x, 2, rounding_method="Banker's Rounding")""", + """flt(x, 2)""", setup="x = random.uniform(1, 10000)", globals={"flt": flt, "random": random}, )