Skip to content

DiscreteNonParametric should be <: ContinuousDistribution #887

@abraunst

Description

@abraunst

The documentation at https://github.com/JuliaStats/Distributions.jl/blob/master/docs/src/types.md declares that distributions with domain in the reals should be subtypes of ContinuousDistribution. However, DiscreteNonParameteric in https://github.com/JuliaStats/Distributions.jl/blob/master/src/univariate/discrete/discretenonparametric.jl is declared as subtype of DiscreteDistribution, violating this rule. This seems a bug (see also my comments at the end of #332).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions