Bug in g.character_table()

26 views
Skip to first unread message

Peter Mueller

unread,
Apr 27, 2016, 9:00:42 AM4/27/16
to sage-support
sage: AlternatingGroup(12).character_table()
  File "<string>", line 2
    -zeta35**Integer(27)-zeta35**Integer(29)-zeta35**Integer(33)
    ^
IndentationError: unexpected indent

Looking into the function character_table, there seems to be a problem in converting the Gap cyclotomic integer to Sage cyclotomic integer.

-- Peter Mueller

Dima Pasechnik

unread,
Apr 27, 2016, 9:58:43 AM4/27/16
to sage-support
use libgap (it is a faster interface, too, and going to be the default soon, hopefully)

sage: t=libgap.AlternatingGroup(5).CharacterTable()
sage: it=t.Irr()
sage: v=it[1].ValuesOfClassFunction(); v
[ 3, -1, 0, -E(5)-E(5)^4, -E(5)^2-E(5)^3 ]
sage: [x.sage() for x in v]
[3, -1, 0, zeta5^3 + zeta5^2 + 1, -zeta5^3 - zeta5^2]


HTH,
Dima 

-- Peter Mueller

Reply all
Reply to author
Forward
0 new messages