Re: [sage-devel] isogeny_class for EC_NumberField sometimes raises errors

2022-07-13 Thread John Cremona
On Tue, 12 Jul 2022 at 19:41, Barinder Banwait wrote: > > Thanks John -- ticket raised here: > https://trac.sagemath.org/ticket/34174#ticket As a workaround, you can do two things (which will not be necessary after I have finished with that ticket): (1) replace E by E.integral_model(), or

Re: [sage-devel] isogeny_class for EC_NumberField sometimes raises errors

2022-07-12 Thread John Cremona
Barinder, I'll look into this (tomorrow) -- it's my code. Please open a ticket and CC me. It's happening in the code to reduce a model with respect to scaling by units. John On Tue, 12 Jul 2022 at 16:19, Barinder Banwait wrote: > > Dear sage-devel, > > I am running into an issue with

[sage-devel] isogeny_class for EC_NumberField sometimes raises errors

2022-07-12 Thread Barinder Banwait
Dear sage-devel, I am running into an issue with computing isogeny classes of elliptic curves over number fields. Here is what I entered: K. = QuadraticField(4569) myJ = 46969655/32768 E = EllipticCurve(j=K(myJ)) C = E.isogeny_class() This raises a KeyError in the first instance, which seems