Skip to content

PR #5381 makes some SciPy tests fail #5570

@mattip

Description

@mattip

I discovered that latest develop is failing tests in SciPy, where 0.3.30 passes. Bisecting back, it seems #5381 changed some results in SciPy's root finding. xref MacPython/openblas-libs#242.

  • scipy/interpolate/tests/test_interpolate.py::TestPPoly::test_roots_croots fails, increasing the atol from 1e-10 to 1e-8 makes the test pass
  • scipy/linalg/tests/test_solvers.py::TestSolveContinuousAre::test_solve_continuous_are fails, the test arrays are ill-conditioned when solve_discrete_are is called, the error is in calling tsgen which returns info==1, raising an error "Reordering of (A, B) failed because the transformed matrix pair (A, B) would be too far from generalized Schur form; the problem is very ill-conditioned. (A, B) may have been partially reordered"

I can try to whittle these failures down, but wanted to open the issue first in case someone has a better idea of what is going on. CC @Mousius.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions