Skip to content

another function declaration issue #835

Open
@nsajko

Description

@nsajko

Take a look at these two method definitions: https://github.com/JuliaAI/MLJBase.jl/blob/dev/src/measures/probabilistic.jl#L91-L96

The second method seems faulty in several ways:

  1. all four type parameters are unbound
  2. ArrMissing{UnivariateFinite}, is parameterized with an abstract type. usually one would do something like this instead: ArrMissing{<:UnivariateFinite}
  3. I think the methods are actually ambiguous or overwrite eachother, because there are no constraints on either one

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