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
CrystalBallconstructor 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 withReverseDiff.TrackedReal.It is common pattern for Distributions (e.g. Normal)
There should be clear way to make it AD-friendly.
MWE comes below