From 55b71e436afeb8602a291c7352d41156cce0532c Mon Sep 17 00:00:00 2001 From: PaulJonasJost Date: Wed, 25 Oct 2023 23:06:18 +0200 Subject: [PATCH] Removed DeprecationWaning of NumPy --- 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():