Giter Club home page Giter Club logo

Comments (4)

mdhaber avatar mdhaber commented on June 18, 2024 1

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:

def _check_scalar(actual, desired, xp):

from scipy.

stefanv avatar stefanv commented on June 18, 2024 1

I probably tested on main.

from scipy.

tylerjereddy avatar tylerjereddy commented on June 18, 2024

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.

lucascolley avatar lucascolley commented on June 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.