Skip to content

Typo in math_sumprod_impl() #111342

Description

@skirpichev

} else if (q_type_float && (PyLong_CheckExact(p_i) || PyBool_Check(q_i))) {

Obviously, should be p_i in the last OR operand, c.f. L2824.

Factored out from #110000. I think this should be fixed regardless on the fate of that pr. 052d7de has also simple test for this if.

Linked PRs

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions