<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/numpy.git/numpy/lib/function_base.py, branch v1.17.0rc2</title>
<subtitle>github.com: numpy/numpy.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/'/>
<entry>
<title>BUG: i0 Bessel function regression on array-likes supporting ufuncs</title>
<updated>2019-07-14T18:13:35+00:00</updated>
<author>
<name>Sebastian Berg</name>
<email>sebastian@sipsolutions.net</email>
</author>
<published>2019-07-04T19:45:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=30ad399a307975903d38aff9c1d5098222a6cc60'/>
<id>30ad399a307975903d38aff9c1d5098222a6cc60</id>
<content type='text'>
For array likes supporting UFuncs, `np.abs` would return an array-like,
and this is currently not compatible with the use of `np.piecewise`.
The simplest fix seems to be to just call asanyarray (which piecewise
calls anyway on the array) beforehand. This way we ensure the conditions
are also an array.

Fixes gh-13894
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For array likes supporting UFuncs, `np.abs` would return an array-like,
and this is currently not compatible with the use of `np.piecewise`.
The simplest fix seems to be to just call asanyarray (which piecewise
calls anyway on the array) beforehand. This way we ensure the conditions
are also an array.

Fixes gh-13894
</pre>
</div>
</content>
</entry>
<entry>
<title>Update function_base.py</title>
<updated>2019-06-15T00:52:06+00:00</updated>
<author>
<name>He Jia</name>
<email>he.jia.phy@gmail.com</email>
</author>
<published>2019-06-15T00:52:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=35a6936f40e7e8fb4e7bbf809fa493e1f37ec85c'/>
<id>35a6936f40e7e8fb4e7bbf809fa493e1f37ec85c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: ensure i0 does not change the shape.</title>
<updated>2019-06-12T13:57:52+00:00</updated>
<author>
<name>Marten van Kerkwijk</name>
<email>mhvk@astro.utoronto.ca</email>
</author>
<published>2018-06-03T18:24:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=98b68bd97f636d56ceee36f2af0122c34ee2c64d'/>
<id>98b68bd97f636d56ceee36f2af0122c34ee2c64d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: Misc. typo fixes (#13664)</title>
<updated>2019-05-31T07:13:33+00:00</updated>
<author>
<name>luzpaz</name>
<email>luzpaz@users.noreply.github.com</email>
</author>
<published>2019-05-31T07:13:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=0c70787c04d7b0febacb14edfe214cb68d87b6c3'/>
<id>0c70787c04d7b0febacb14edfe214cb68d87b6c3</id>
<content type='text'>
* DOC, MAINT: Misc. typo fixes

Found via `codespell`
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* DOC, MAINT: Misc. typo fixes

Found via `codespell`
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: Increment stacklevel for warnings to account for NEP-18 overrides (#13589)</title>
<updated>2019-05-20T16:37:18+00:00</updated>
<author>
<name>Stephan Hoyer</name>
<email>shoyer@gmail.com</email>
</author>
<published>2019-05-20T16:37:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=f9c1502e7ace9b48f0256a77c560aae43763a1f2'/>
<id>f9c1502e7ace9b48f0256a77c560aae43763a1f2</id>
<content type='text'>
* Increment stacklevel for warnings to account for NEP-18 overrides

For NumPy functions that make use of `__array_function__`, the appropriate the
stack level for warnings should generally be increased by 1 to account for
the override function defined in numpy.core.overrides.

Fixes GH-13329

* Update numpy/lib/type_check.py

Co-Authored-By: Sebastian Berg &lt;sebastian@sipsolutions.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Increment stacklevel for warnings to account for NEP-18 overrides

For NumPy functions that make use of `__array_function__`, the appropriate the
stack level for warnings should generally be increased by 1 to account for
the override function defined in numpy.core.overrides.

Fixes GH-13329

* Update numpy/lib/type_check.py

Co-Authored-By: Sebastian Berg &lt;sebastian@sipsolutions.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #13298 from navneet-nmk/diff-error</title>
<updated>2019-05-03T05:36:12+00:00</updated>
<author>
<name>Eric Wieser</name>
<email>wieser.eric@gmail.com</email>
</author>
<published>2019-05-03T05:36:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=f64ec0ca21466d3d461b88e232451c750982e9e6'/>
<id>f64ec0ca21466d3d461b88e232451c750982e9e6</id>
<content type='text'>
ENH: Added clearer exception for np.diff on 0-dimensional ndarray</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
ENH: Added clearer exception for np.diff on 0-dimensional ndarray</pre>
</div>
</content>
</entry>
<entry>
<title>ENH: add clearer error message for diff(0-d)</title>
<updated>2019-04-26T16:05:23+00:00</updated>
<author>
<name>ayir</name>
<email>navneet.nmk@gmail.com</email>
</author>
<published>2019-04-10T15:00:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=d7de4ad70d6794b36e4789e4f6146a884113bd66'/>
<id>d7de4ad70d6794b36e4789e4f6146a884113bd66</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>ENH: Add support for Fraction to percentile and quantile</title>
<updated>2019-04-24T05:48:02+00:00</updated>
<author>
<name>Eric Wieser</name>
<email>wieser.eric@gmail.com</email>
</author>
<published>2019-04-23T08:55:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=9a23f16b67958205468f7f5c4e0966f393558d9a'/>
<id>9a23f16b67958205468f7f5c4e0966f393558d9a</id>
<content type='text'>
With true division available, using `.0` to convert integers to floats offers no value, and harms compatibility with precise rational types.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With true division available, using `.0` to convert integers to floats offers no value, and harms compatibility with precise rational types.
</pre>
</div>
</content>
</entry>
<entry>
<title>DOC: Specify range for numpy.angle</title>
<updated>2019-04-20T18:32:56+00:00</updated>
<author>
<name>kritisingh1</name>
<email>kritisingh1.ks@gmail.com</email>
</author>
<published>2019-04-20T15:49:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=fc93cb3e5d5dcf50f95cfda088124768531456f4'/>
<id>fc93cb3e5d5dcf50f95cfda088124768531456f4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>DOC: fix doc build warnings in a cleaner way.</title>
<updated>2019-04-15T14:52:02+00:00</updated>
<author>
<name>Ralf Gommers</name>
<email>ralf.gommers@gmail.com</email>
</author>
<published>2019-04-15T14:52:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=26a8b418a9e19437d76b00be8a0a4f32aee68c4b'/>
<id>26a8b418a9e19437d76b00be8a0a4f32aee68c4b</id>
<content type='text'>
Addresses review comment by @eric-wieser.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Addresses review comment by @eric-wieser.
</pre>
</div>
</content>
</entry>
</feed>
