Skip to content

Commit 5af1bd6

Browse files
committed
fix bug where statfun was not used
1 parent 39b6be2 commit 5af1bd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cluster.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ function clusterdepth(
3434
(statfun!)=nothing,
3535
statfun=nothing,
3636
)
37-
if stat_type == :onesample_ttest
37+
if stat_type == :onesample_ttest && isnothing(statfun!) && isnothing(statfun)
3838
statfun! = studentt!
3939
statfun = studentt
4040
end

0 commit comments

Comments
 (0)