Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

generic matrix inversion yields incorrect results ovec RealBallField #38746

Open
2 tasks done
mezzarobba opened this issue Sep 30, 2024 · 0 comments
Open
2 tasks done

Comments

@mezzarobba
Copy link
Member

mezzarobba commented Sep 30, 2024

Steps To Reproduce

sage: b = RBF(0, 1e-1)
sage: mat = matrix([[b,b],[b,b]])
sage: ~mat
[1.000000000000000                 0]
[                0 1.000000000000000]

Expected Behavior

sage: ~mat.change_ring(CBF)
---------------------------------------------------------------------------
ZeroDivisionError                         Traceback (most recent call last)
Cell In[7], line 1
----> 1 ~mat.change_ring(CBF)

File ~/co/sage/src/sage/matrix/matrix_complex_ball_dense.pyx:546, in sage.matrix.matrix_complex_ball_dense.Matrix_complex_ball_dense.__invert__()
    544         return res
    545     else:
--> 546         raise ZeroDivisionError("unable to compute the inverse, is the matrix singular?")
    547
    548 def transpose(self):

ZeroDivisionError: unable to compute the inverse, is the matrix singular?

Actual Behavior

Additional Information

No response

Environment

10.5.beta5

Checklist

  • I have searched the existing issues for a bug report that matches the one I want to file, without success.
  • I have read the documentation and troubleshoot guide
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants