[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>
Sat, 18 Feb 2023 15:12:32 +0000 (15:12 +0000)
commitf2b3569cc5606ac867db770a52f77d85b15f35a6
tree73c6e8e68d54d617d05d3106a4ecd635a22ba75e
parent9ecc2f48b6e880c5c54dab2ed005a8dacf84607a
[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