Skip to content

betainc returns 0 instead of mpf('0.0') #569

Description

@naveensaigit

When x1==x2, betainc returns an integer 0 instead of an mpmath object with 0 as its value.
Found while implementing incomplete beta functions in SymPy. sympy/sympy#20569 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions