-
-
Notifications
You must be signed in to change notification settings - Fork 654
Closed
Milestone
Description
Problem Description
it's released, and used by scipy
Proposed Solution
various things to be done. The 1st is due to flint headers, which use I
in function declarations, and if you include complex.h
, you get problems. Fix is easy, and proposed in flintlib/flint#2027
There are also deprecations to be dealt with, e.g.
File "src/sage/rings/polynomial/polynomial_element.pyx", line 4639, in sage.rings.polynomial.polynomial_element.Polynomial.factor
Failed example:
(-2*x^2 - 1).factor()
Expected:
(-2.0) * (x^2 + 0.5000000000000001)
Got:
doctest:warning
File "<doctest sage.rings.polynomial.polynomial_element.Polynomial.factor[44]>", line 1, in <module>
(-Integer(2)*x**Integer(2) - Integer(1)).factor()
File "/usr/lib/python3.12/site-packages/numpy/linalg/linalg.py", line 8, in __getattr__
warnings.warn(
File "/usr/lib/python3.12/warnings.py", line 112, in _showwarnmsg
sw(msg.message, msg.category, msg.filename, msg.lineno,
:
DeprecationWarning: The numpy.linalg.linalg has been made private and renamed to numpy.linalg._linalg. All public functions exported by it are available from numpy.linalg. Please use numpy.linalg.LinAlgError instead.
(-2.0) * (x^2 + 0.5000000000000001)
Alternatives Considered
n/a
Additional Information
No response
Is there an existing issue for this?
- I have searched the existing issues for a bug report that matches the one I want to file, without success.