Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not user-friendly error for the dimension parameter #21

Open
Nimrais opened this issue Aug 29, 2024 · 0 comments
Open

Not user-friendly error for the dimension parameter #21

Nimrais opened this issue Aug 29, 2024 · 0 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@Nimrais
Copy link
Member

Nimrais commented Aug 29, 2024

The error is related to an incomplete specification of the Dirichlet distribution in the projection constraints, however should be the same for all distributions where the dimension specification required.

ERROR: MethodError: no method matching get_natural_manifold_base(::Type{Dirichlet}, ::Tuple{}, ::Nothing)
Closest candidates are:
  get_natural_manifold_base(::Type{Bernoulli}, ::Tuple{}, ::Any)
   @ ExponentialFamilyManifolds ~/.julia/packages/ExponentialFamilyManifolds/U3q3O/src/natural_manifolds/bernoulli.jl:6
  get_natural_manifold_base(::Type{Categorical{P} where P<:Real}, ::Tuple{}, ::Any)
   @ ExponentialFamilyManifolds ~/.julia/packages/ExponentialFamilyManifolds/U3q3O/src/natural_manifolds/categorical.jl:7
  get_natural_manifold_base(::Type{Rayleigh}, ::Tuple{}, ::Any)
   @ ExponentialFamilyManifolds ~/.julia/packages/ExponentialFamilyManifolds/U3q3O/src/natural_manifolds/rayleigh.jl:7
@Nimrais Nimrais added documentation Improvements or additions to documentation enhancement New feature or request labels Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant