Skip to content

Bug on Gamma.InvCDF function #663

Open
@marikhub

Description

@marikhub

On our project when running Gamma.InvCDF function with some specific input parameters it throws an error:

"Value must not be negative (zero is ok)".

Failed test case:
Gamma.InvCDF(291703.90351168968, 0.0046365152378220085, 0.97223500127950224);

StackTrace:
at MathNet.Numerics.SpecialFunctions.GammaLowerRegularized(Double a, Double x) at MathNet.Numerics.SpecialFunctions.GammaLowerRegularizedInv(Double a, Double y0) at MathNet.Numerics.Distributions.Gamma.InvCDF(Double shape, Double rate, Double p)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions