From 7210de8c9fb9cfe498b172fb8e82c1892048ae69 Mon Sep 17 00:00:00 2001 From: Paul Jonas Jost <70631928+PaulJonasJost@users.noreply.github.com> Date: Thu, 26 Oct 2023 17:18:24 +0200 Subject: [PATCH] Removed DeprecationWaning of NumPy (#1158) --- test/sample/test_sample.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/sample/test_sample.py b/test/sample/test_sample.py index d972f4afa..dc31748e9 100644 --- a/test/sample/test_sample.py +++ b/test/sample/test_sample.py @@ -18,7 +18,7 @@ def gaussian_llh(x): - return float(norm.logpdf(x)) + return float(norm.logpdf(x).item()) def gaussian_problem():