Skip to content

All parameters of the same numeric type #45

@mmikhasenko

Description

@mmikhasenko

CrystalBall constructor requires all four parameters to have the same numeric type, so mixed Float64 and tracked parameters fail for mass/shape/all-free stages. It fails with ReverseDiff.TrackedReal.

It is common pattern for Distributions (e.g. Normal)
There should be clear way to make it AD-friendly.

MWE comes below

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions