Comments (4)
For 1.13, I'll just fix it. I just let a 0d array slip through. I actually try to limit my reflexive use of [()]
, and in this case I went to far.
I don't think this is in the 1.13 release. gh-20284 will fix this, and the type, dtype, and shape tests are stronger with xp_assert_close
, so it won't happen again. In gh-19186 , we specifically added a check for NumPy arrays to ensure that np.float64
is preferred over 0D NumPy arrays:
scipy/scipy/_lib/_array_api.py
Line 243 in efd3cff
from scipy.
I probably tested on main.
from scipy.
Here's the result of git bisect
process on the above regression test:
ceea3e316ab78e3477004da0c26236105fe3b4d5 is the first bad commit
commit ceea3e316ab78e3477004da0c26236105fe3b4d5
Author: Matt Haberland <[email protected]>
Date: Wed Mar 20 21:43:07 2024 -0700
ENH: stats.pearsonr: add support for `axis` argument (#20137)
scipy/stats/_morestats.py | 16 ++--
scipy/stats/_stats_py.py | 187 ++++++++++++++++++++++++++--------------
scipy/stats/tests/test_stats.py | 101 ++++++++++++++++++++--
3 files changed, 219 insertions(+), 85 deletions(-)
from scipy.
Yeah, so @stefanv it looks like this commit is not in the 1.13 branch. Was the problem definitely with 1.13.0rc1, or just main
?
from scipy.
Related Issues (20)
- BUG: special: Inconsistent values for `scipy.special.ndtri` across operating systems HOT 2
- ENH: special: add log of wright_bessel
- Query: pickling across SciPy versions HOT 11
- MAINT/STY: fix UP031, UP032 linter errors HOT 2
- DOC: document switch from mailing list to discourse HOT 8
- BUG: Sliding is applied when using median as pivot in cKDTree, should only be used for midpoint
- BUG: `refguide-check` incorrectly flags references to equations in docstrings HOT 2
- BUG:linalg:interpolative: Inputs are not mapped to compatible dtypes
- BUG: spatial: long hangs using Qhull in SciPy 1.13.0, in Colour CI HOT 13
- DOC: dual_annealing optimizer does not pass bounds to minimizer when minimizer_kwargs is partially given HOT 3
- ENH: generic_filter supports axes HOT 1
- BUG: scipy 'minimize' with method='trust-constr' with equality constraints raises ValueError('expected square matrix') HOT 8
- DOC: Suggested improvement to interp2d transition guide HOT 2
- DOC: signal: add an example cross-spectrogram application HOT 4
- BUG: scipy.spatial.Delaunay, scipy.interpolate.LinearNDInterpolator segfault on invalid shapes HOT 4
- BUG: io: `loadmat` does not load the full file HOT 4
- DOC: Use full page width for HTML documentation HOT 4
- BUG: stats.levy_stable: incorrect logpdf values for beta == +-1
- DOC: Specify cut-off frequency in firwin as half-ampltude vs half-power
- BUG: stats: Two new XSLOW test failures HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scipy.