Skip to content

Commit 2c3b7ae

Browse files
Vincent Delecroixdimpase
authored andcommitted
fix doctest if fqf_orthogonal
1 parent 70a1432 commit 2c3b7ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sage/groups/fqf_orthogonal.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,10 +245,10 @@ def _element_constructor_(self, x, check=True):
245245
sage: all(x*f==x*fbar for x in q.gens())
246246
True
247247
sage: L = IntegralLattice("A2").twist(3)
248-
sage: q = L.discriminant_group()
249248
sage: OL = L.orthogonal_group()
249+
sage: assert OL(OL.0.matrix()) == OL.0
250+
sage: q = L.discriminant_group()
250251
sage: Oq = q.orthogonal_group()
251-
sage: assert Oq(OL.0) == Oq(OL.0.matrix())
252252
sage: assert Oq(Oq.0.matrix()) == Oq.0
253253
"""
254254
from sage.libs.gap.element import GapElement

0 commit comments

Comments
 (0)