Skip to content

Commit

Permalink
updated precompile statement
Browse files Browse the repository at this point in the history
  • Loading branch information
adknudson committed Mar 24, 2024
1 parent d8e4bbd commit 609bdc9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/PearsonCorrelationMatch.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

2 comments on commit 609bdc9

@adknudson
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register

Release notes:

  • Added interface to allow specialized (exact) methods for specific distributions
  • Can now control the polynomial degree and number of hermite interpolation points

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/103501

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.4.0 -m "<description of version>" 609bdc960c1bb81fe191b6cf69054b23501b9f07
git push origin v0.4.0

Please sign in to comment.