[Numpy-discussion] NumPy 1.24.x branched

2022-11-22 Thread Charles R Harris
Hi All, NumPy 1.24.x has been branched. Chuck ___ NumPy-Discussion mailing list -- numpy-discussion@python.org To unsubscribe send an email to numpy-discussion-le...@python.org https://mail.python.org/mailman3/lists/numpy-discussion.python.org/ Member a

[Numpy-discussion] Re: Add a new CI provider for aarch64, macos arm64, musl

2022-11-22 Thread Stefan van der Walt
Hi Matti, On Mon, Nov 21, 2022, at 06:20, Matti Picus wrote: > I am writing to the list for visibility: I opened an issue [0] about > adding the Cirrus CI provider to take over some of the CI task runners > from travis.com. We have been experiencing strange timeouts on the > travis runs, and in

[Numpy-discussion] Add a new inf whose data type is int

2022-11-22 Thread 2601536569
Hi, I am a student and I have very little knowledge about python and numpy, so my suggestion may seem really stupid. One day I was use numpy to implement Floyd algorithm and then I found the data type of np.inf is float, so i can not use min or max function because other data type are int. So I

[Numpy-discussion] Re: Add a new inf whose data type is int

2022-11-22 Thread Jim Pivarski
If you need an identity for minimization and maximization, a number "I_max" for which "max(I_max, x) == x" and "I_min" for which "min(I_min, x) == x", you could use the extreme values of the given integer type. For instance, if your integer type is np.int64, use - I_max = np.iinfo(np.int64).mi