You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
log for dense diagonal matrix with negative elements (#1352)
Fixes a regression introduced in v1.12, where we have a special branch
for diagonal matrices to improve performance. The issue is that log for
`Diagonal` matrices acts elementwise, which, for real matrices, requires
the diagonal elements to be greater than zero. This PR adds an extra
branch to check this.
0 commit comments