base_ring.degree() > 2 and base_ring.is_absolute(). I think changing this to absolute_degree() or checking for is_absolute() first should solve the problem
Environment
- **OS**: Void linux
- **Sage Version**: 10.4
Checklist
[X] I have searched the existing issues for a bug report that matches the one I want to file, without success.
[X] I have read the documentation and troubleshoot guide
Steps To Reproduce
Expected Behavior
A quaternion algebra over K is created
Actual Behavior
I get a NotImplementedError: For a relative number field you must use relative_degree or absolute_degree as appropriate.
Additional Information
The issue is in src/sage/algebras/quatalg/quaternion_algebra.py:665
base_ring.degree() > 2 and base_ring.is_absolute()
. I think changing this toabsolute_degree()
or checking foris_absolute()
first should solve the problemEnvironment
Checklist