From b30a95025b9c1bc5f3536d54b77685b75f034a9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20=C5=9Al=C4=99zak?= <128084860+jaksle@users.noreply.github.com> Date: Wed, 7 Feb 2024 19:43:18 +0100 Subject: [PATCH] Update interp.jl --- test/interp.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/interp.jl b/test/interp.jl index d2f7c4a6..cbdeb7c5 100644 --- a/test/interp.jl +++ b/test/interp.jl @@ -13,7 +13,7 @@ k = kde((X,Y)) # Try to evaluate the KDE outside the interpolation domain # The KDE is allowed to be zero, but it should not be greater than the exact solution k = kde([0.0], bandwidth=1.0) -@test pdf(k, k.x) ≈ k.density +@test pdf.(k, k.x) ≈ k.density @test pdf(k, -10.0) ≤ pdf(Normal(), -10.0) @test pdf(k, +10.0) ≤ pdf(Normal(), +10.0)