Skip to content

Commit

Permalink
Added tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jtcc2 committed Feb 15, 2024
1 parent 57d933a commit b7778fd
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/sage/algebras/quatalg/quaternion_algebra.py
Original file line number Diff line number Diff line change
Expand Up @@ -2232,6 +2232,16 @@ def isomorphism_to(self, other, *, conjugator=False, B=10):
...
NotImplementedError: only implemented for definite quaternion orders
::
sage: Quat.<i,j,k> = QuaternionAlgebra(-1,-11)
sage: O1 = Quat.quaternion_order([1, i, j, k])
sage: O2 = Quat.quaternion_order([1,-i, j,-k])
sage: O1.isomorphism_to(O2)
Traceback (most recent call last):
...
NotImplementedError: only implemented for maximal orders
::
sage: Quat.<i,j,k> = QuaternionAlgebra(-1,-11)
Expand Down

0 comments on commit b7778fd

Please sign in to comment.