Skip to content

Fix common type handling in array_api concat and stack #4880

Closed

Description

@drculhane

The array_api concat and stack functions produce a float output even if all inputs are int, because it uses np.common_type. But numpy concat and numpy stack don't use that, and will produce an int output if all inputs are int. This should be addressed.

Activity

  1. changed the title [-]Fix common type handling in array_api concat[/-] [+]Fix common type handling in array_api concat and stack[/+] on Sep 9, 2025
  2. added a commit that references this issue on Sep 17, 2025
    e4260d6
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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions