[PATCH] Have get_index_dtype follow its documentation and return int32 or int64
authorserge-sans-paille <serge.guelton@telecom-bretagne.eu>
Tue, 19 Jul 2022 17:04:28 +0000 (19:04 +0200)
committerDrew Parsons <dparsons@debian.org>
Tue, 7 Feb 2023 08:49:03 +0000 (08:49 +0000)
commitcc492bf7add37355a4aaa4040fe93c319abfdf68
treee4478eaa6db1aeb2d1edd4b8a7f5c2fc8caa18a7
parent76192e36ca277fa59b4c9e9813618a82447b768f
[PATCH] Have get_index_dtype follow its documentation and return int32 or int64

This also avoids np.intc which is a portability pain.
Adjust group_sparse signature accordingly.

This should also fix https://github.com/serge-sans-paille/pythran/issues/2002

Gbp-Pq: Name pythran_type_PR16646.patch
scipy/optimize/_group_columns.py