Warren Weckesser

Results 106 comments of Warren Weckesser

https://github.com/scipy/scipy/pull/17284 should fix the failure of `scipy/special/tests/test_mpmath.py::TestSystematic::test_sinpi`. I suspect some of the other `TestSystematic` failures could be fixed with just a tolerance bump, but some of them already have a...

I reopened the issue, but it is still possible that the problem has been fixed (directly or indirectly) in the main development branch. For example, https://github.com/scipy/scipy/pull/15763 made significant changes to...

Thanks @BrentTanKian, that sounds good. We generally don't assign issues, so you can go ahead and work on it.

This was fixed by https://github.com/numpy/numpy/pull/22309.

FYI: The line in the source file is https://github.com/numpy/numpy/blob/6d5bc233442c034d54e0c0b15fdd7ed27e36fcac/doc/source/reference/maskedarray.baseclass.rst?plain=1#L38

Given the signature searchsorted(a, v, side='left', sorter=None) the function could be implemented as a wrapper around two (private) gufuncs: gufunc shape signature ---------------------------------------------- ----------------- _search_sorted(a, v, side) (n),(),()->() _search_sorted_with_sorter(a, v,...

This appears to have broken some tests in `scipy.sparse`. Ultimately, the problem comes down to the dtype check requiring that the dtypes are the *same object*, instead of being equal...

This stackoverflow question is another report of the bug: [Why does numpy's `np.char.encode` turn an empty unicode array into an empty `float64` array?](https://stackoverflow.com/questions/73028962/why-does-numpys-np-char-encode-turn-an-empty-unicode-array-into-an-empty-flo)

Here's an older issue that reports the same problem: https://github.com/numpy/numpy/issues/7371