[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)
committerRaspbian forward porter <root@raspbian.org>
Mon, 13 Feb 2023 15:21:51 +0000 (15:21 +0000)
commit1e6f92299aca5b6d188bded02e55d5a683588df4
treeca6efde69ba674fcc476eb8eaa97edf8cadcc114
parent19ead43ed42f0098f5ae603e1a4182da13c89bee
[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