• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

IntelPython / dpnp / 42707614666
84%

Build:
DEFAULT BRANCH: master
Ran 09 Nov 2026 11:21PM UTC
Jobs 1
Files 265
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

09 Nov 2026 09:59PM UTC coverage: 84.424% (+0.001%) from 84.423%
42707614666

push

github

web-flow
Derive `dpnp.linalg.LinAlgError` from `numpy.linalg.LinAlgError` (#3184)

This PR makes `dpnp.linalg.LinAlgError` a subclass of
`numpy.linalg.LinAlgError`.

Before, it derived only from `ValueError`, so code written for NumPy
that handles a linear algebra failure with `except
numpy.linalg.LinAlgError` (or `scipy.linalg.LinAlgError`, the same
class) did not catch the errors dpnp raises, for example for a singular
matrix in `dpnp.linalg.inv` or a matrix that is not positive definite in
`dpnp.linalg.cholesky`. Libraries that dispatch through the Array API
rely on that `except` clause, for instance to fall back to a
least-squares solution when a factorization fails. CuPy uses NumPy's
class directly.

The LAPACK extension now registers its `LinAlgError` with
`numpy.linalg.LinAlgError` as the base class, so it covers both the
errors thrown from C++ and those raised in Python. It is still a
`ValueError`, and `except dpnp.linalg.LinAlgError` works as before.

1792 of 2998 branches covered (59.77%)

Branch coverage included in aggregate %.

3 of 3 new or added lines in 1 file covered. (100.0%)

29617 of 34206 relevant lines covered (86.58%)

39164.7 hits per line

Jobs
ID Job ID Ran Files Coverage
1 42707614666.1 09 Nov 2026 11:21PM UTC 265
84.42
GitHub Action Run
Source Files on build 42707614666
  • Tree
  • List 265
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #42707614666
  • b5903f61 on github
  • Prev Build on master (#42691268684)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc