Skip to content

Conversation

@jishnub
Copy link
Member

@jishnub jishnub commented Feb 13, 2025

Currently,

julia> A = diagm(0 => [1.0, 0.0])
2×2 Matrix{Float64}:
 1.0  0.0
 0.0  0.0

julia> inv(A)
ERROR: SingularException(2)
[...]

After this,

julia> inv(A)
ERROR: SingularException: matrix is singular; factorization failed. Zero eigenvalue found at index 2
[...]

@jishnub jishnub changed the title Detailed showerror for SingularException Verbose showerror for SingularException Feb 13, 2025
@codecov
Copy link

codecov bot commented Feb 14, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.86%. Comparing base (2a1696a) to head (c550974).
Report is 6 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1204   +/-   ##
=======================================
  Coverage   91.86%   91.86%           
=======================================
  Files          34       34           
  Lines       15365    15367    +2     
=======================================
+ Hits        14115    14117    +2     
  Misses       1250     1250           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Co-authored-by: Steven G. Johnson <[email protected]>
@ViralBShah ViralBShah merged commit baa48b7 into master Feb 16, 2025
4 checks passed
@ViralBShah ViralBShah deleted the jishnub/singularexceptionshow branch February 16, 2025 19:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants