Skip to content

Commit bf39355

Browse files
committed
Implemented reviewer feedback
- Corrected order of additional arguments - Fixed spacing for PEP8
1 parent 9db7f54 commit bf39355

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/sage/algebras/quatalg/quaternion_algebra.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -701,13 +701,13 @@ def maximal_order(self, take_shortcuts=True, order_basis=None):
701701
702702
INPUT:
703703
704-
- ``order_basis`` -- (optional, default: ``None``) a basis of an
705-
order of this quaternion algebra
706-
707704
- ``take_shortcuts`` -- (default: ``True``) if the discriminant is
708705
prime and the invariants of the algebra are of a nice form, use
709706
Proposition 5.2 of [Piz1980]_.
710707
708+
- ``order_basis`` -- (optional, default: ``None``) a basis of an
709+
order of this quaternion algebra
710+
711711
OUTPUT:
712712
713713
A maximal order in this quaternion algebra.
@@ -814,7 +814,7 @@ def maximal_order(self, take_shortcuts=True, order_basis=None):
814814
# of such a form though)
815815
a, b = self.invariants()
816816
if (not order_basis and take_shortcuts and d_A.is_prime()
817-
and a in ZZ and b in ZZ):
817+
and a in ZZ and b in ZZ):
818818
a = ZZ(a)
819819
b = ZZ(b)
820820
i, j, k = self.gens()

0 commit comments

Comments
 (0)