Opened 6 months ago

Last modified 2 months ago

#31627 new defect

`GO(2,271,-1)` invariant_form raises an error

Reported by: sbrandhorst Owned by:
Priority: major Milestone: sage-9.5
Component: group theory Keywords:
Cc: Merged in:
Authors: Reviewers:
Report Upstream: Reported upstream. No feedback yet. Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description

sage: G = GO(2,257,-1)                                                                           
sage: G.invariant_bilinear_form()                                                                
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-2-9d9a1b7c93ee> in <module>
----> 1 G.invariant_bilinear_form()

~/sage/local/lib/python3.9/site-packages/sage/misc/cachefunc.pyx in sage.misc.cachefunc.CachedMethodCallerNoArgs.__call__ (build/cythonized/sage/misc/cachefunc.c:12906)()
   2308         if self.cache is None:
   2309             f = self.f
-> 2310             self.cache = f(self._instance)
   2311         return self.cache
   2312 

~/sage/local/lib/python3.9/site-packages/sage/groups/matrix_gps/orthogonal.py in invariant_bilinear_form(self)
    590             [0 0 0 2]
    591         """
--> 592         m = self.gap().InvariantBilinearForm()['matrix'].matrix()
    593         m.set_immutable()
    594         return m

~/sage/local/lib/python3.9/site-packages/sage/libs/gap/element.pyx in sage.libs.gap.element.GapElement_List.matrix (build/cythonized/sage/libs/gap/element.c:22477)()
   2975             ring = entries.DefaultRing().sage()
   2976         MS = MatrixSpace(ring, n, m)
-> 2977         return MS([x.sage(ring=ring) for x in entries])
   2978 
   2979     _matrix_ = matrix

TypeError: GapElement.sage() takes no keyword arguments
sage: G.gap().InvariantQuadraticForm()                                                           
rec( matrix := [ [ z0, z0 ], [ 0z, z0 ] ] )

Change History (4)

comment:1 Changed 6 months ago by sbrandhorst

  • Report Upstream changed from N/A to Reported upstream. No feedback yet.

comment:3 Changed 5 months ago by mkoeppe

  • Milestone changed from sage-9.3 to sage-9.4

Moving to 9.4, as 9.3 has been released.

comment:4 Changed 2 months ago by mkoeppe

  • Milestone changed from sage-9.4 to sage-9.5
Note: See TracTickets for help on using tickets.