[sage-devel] hyperbolic_polygon bug

2024-08-11 Thread Hakan Granath
Hi, There is a bug in hyperbolic_polygon which happens quite rarely, but for example l = [-1, 1, -0.0571909584179366 + 0.667*I] hyperbolic_polygon(l, model='PD') results in an incorrectly drawn hyperbolic triangle. It seems to be a subtle numerical issue; if the last element

Re: [sage-devel] Re: Matrices over QQbar

2024-05-06 Thread Hakan Granath
ribing the things you > want to compute). > > I do intend to make my commit part of SageMath QQbar, but it is not on > the top priority list. > > Best > Vincent > > On Mon, 6 May 2024 at 09:27, Hakan Granath > wrote: > > > > Great, thanks for working out and

Re: [sage-devel] Re: Matrices over QQbar

2024-05-06 Thread Hakan Granath
again for your report. > Vincent > > On Fri, 3 May 2024 at 18:13, vdelecroix <20100.delecr...@gmail.com> wrote: > > > > Thanks for your report! I simplified a bit your example and posted an > issue https://github.com/sagemath/sage/issues/37927. > > > > Vinc

[sage-devel] Matrices over QQbar

2024-05-03 Thread Hakan Granath
Hi, I think sometimes matrices over QQbar give erroneous results (sorry for the messy example, if I try to simplify it the problem disappears): R. = QQ[] v1 = QQbar.polynomial_root(AA.common_polynomial(y^2 + 1), CIF(RIF(RR(0)), RIF(-RR(1 v2 = QQbar.polynomial_root(AA.common_polynomial(y^2 + 1