From 3f7ae469364a985932954c2934a0a161bc991644 Mon Sep 17 00:00:00 2001 From: Deirdre Kelliher Date: Thu, 9 Jan 2025 21:03:00 -0500 Subject: [PATCH] casting np float64 to float --- benchmarks/views/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmarks/views/index.py b/benchmarks/views/index.py index 3a73179e..66ffb88e 100644 --- a/benchmarks/views/index.py +++ b/benchmarks/views/index.py @@ -570,7 +570,7 @@ def normalize_alpha(value, min_value, max_value): slope = -.9 / (min_value - max_value) intercept = .1 - slope * min_value result = slope * value + intercept - return result + return float(result) def represent(value):