void-packages/srcpkgs/sagemath/patches/trac-34537-sagemath-pari-2....

30 lines
1.1 KiB
Diff

From f0365f30834b6890313790b3845c647d0160fa6a Mon Sep 17 00:00:00 2001
From: Vincent Delecroix <20100.delecroix@gmail.com*>
Date: Fri, 30 Sep 2022 16:31:08 +0200
Subject: fix doctest if fqf_orthogonal
---
src/sage/groups/fqf_orthogonal.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/sage/groups/fqf_orthogonal.py b/src/sage/groups/fqf_orthogonal.py
index 75de408..7fc4dbe 100644
--- a/src/sage/groups/fqf_orthogonal.py
+++ b/src/sage/groups/fqf_orthogonal.py
@@ -245,10 +245,10 @@ class FqfOrthogonalGroup(AbelianGroupAutomorphismGroup_subgroup):
sage: all(x*f==x*fbar for x in q.gens())
True
sage: L = IntegralLattice("A2").twist(3)
- sage: q = L.discriminant_group()
sage: OL = L.orthogonal_group()
+ sage: assert OL(OL.0.matrix()) == OL.0
+ sage: q = L.discriminant_group()
sage: Oq = q.orthogonal_group()
- sage: assert Oq(OL.0) == Oq(OL.0.matrix())
sage: assert Oq(Oq.0.matrix()) == Oq.0
"""
from sage.libs.gap.element import GapElement
--
cgit v1.0-1-gd88e