You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
K.<t> = NumberField(x^2+17)
I = K.ideal(3,t+1)
S = K.primes_above(11)
A = K.S_class_group(S)
A(I)
produces the error
TypeError: unsupported operand parent(s) for '*': 'Ambient free module
of rank 1 over the principal ideal domain Integer Ring' and 'Full
MatrixSpace of 0 by 0 dense matrices over Integer Ring'
The same error can be obtained by
A.identity()
The problem seems to arise only when the abelian group is trivial.
I imagine this is not a problem of the class group implementation, but one of (trivial) abelian group.
The following code
produces the error
The same error can be obtained by
The problem seems to arise only when the abelian group is trivial.
I imagine this is not a problem of the class group implementation, but one of (trivial) abelian group.
Component: group theory
Keywords: S-class group, trivial abelian group
Reviewer: Chris Wuthrich
Issue created by migration from https://trac.sagemath.org/ticket/11843
The text was updated successfully, but these errors were encountered: