Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Changed to tuples.
Browse files Browse the repository at this point in the history
  • Loading branch information
adeines authored and AurelPage committed Mar 2, 2017
1 parent c4276e6 commit 055e633
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sage/algebras/quatalg/quaternion_algebra.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ def basis_for_quaternion_lattice(self, gens, ideal_list=None, reverse=False):
"""
F = self.base_ring()
gens = [self(g) for g in gens]
if len(gens) == 0: return []
if len(gens) == 0: return tuple()

#if over a number field
if F != QQ:
Expand Down Expand Up @@ -415,7 +415,7 @@ def basis_for_quaternion_lattice(self, gens, ideal_list=None, reverse=False):
else:
basis_tup = tuple(basis_elts)
I_tup = tuple(I)
return basis_elts, I
return basis_tup, I_tup
except NotImplementedError:
print "Not implemented for quaternion algebras over rings other than QQ or number fields."
else:
Expand Down

0 comments on commit 055e633

Please sign in to comment.