From 5af1bd623a3fede08c13ecfe925707ab855aff15 Mon Sep 17 00:00:00 2001 From: "behinger (s-ccs 001)" Date: Tue, 30 Sep 2025 09:12:12 +0200 Subject: [PATCH] fix bug where statfun was not used --- src/cluster.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cluster.jl b/src/cluster.jl index 10a335f..c70ec55 100755 --- a/src/cluster.jl +++ b/src/cluster.jl @@ -34,7 +34,7 @@ function clusterdepth( (statfun!)=nothing, statfun=nothing, ) - if stat_type == :onesample_ttest + if stat_type == :onesample_ttest && isnothing(statfun!) && isnothing(statfun) statfun! = studentt! statfun = studentt end