diff --git a/src/PearsonCorrelationMatch.jl b/src/PearsonCorrelationMatch.jl index 943f115..dd90e4d 100644 --- a/src/PearsonCorrelationMatch.jl +++ b/src/PearsonCorrelationMatch.jl @@ -31,20 +31,21 @@ using Distributions: Distributions E = Distributions.Beta(5, 3) F = Distributions.Binomial(100, 0.3) G = Distributions.NegativeBinomial(20) - margins = [D, E, F, G] @compile_workload begin pearson_bounds(D, E) pearson_bounds(D, F) pearson_bounds(G, D) pearson_bounds(F, G) - pearson_bounds(margins) + pearson_bounds([D, E, F, G]) + pearson_bounds((D, E, F, G)) pearson_match(p, D, E) pearson_match(p, D, F) pearson_match(p, G, D) pearson_match(p, F, G) pearson_match([1.0 0.5; 0.5 1.0], [E, G]) + pearson_match([1.0 0.5; 0.5 1.0], (E, G)) end end end