From 89e074821ebe713e3c50eb965acdd27103fba708 Mon Sep 17 00:00:00 2001 From: dehann Date: Tue, 19 Jan 2021 13:12:52 -0500 Subject: [PATCH] better use for addEntropy --- src/MSGibbs01.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MSGibbs01.jl b/src/MSGibbs01.jl index 4211503..6215d18 100644 --- a/src/MSGibbs01.jl +++ b/src/MSGibbs01.jl @@ -667,7 +667,7 @@ function *( trees::Vector{BallTreeDensity}; # # hack fix for #70 - if length(trees) == 1 + if length(trees) == 1 && !addEntropy pts = getPoints(trees[1]) |> deepcopy return kde!(pts) end