On 22/12/2017 12:17, Jeroen Demeyer wrote:
On 2017-12-20 09:56, Vincent Delecroix wrote:
In #24285, I did implement a _arb_ and _acb_ methods on number field
elements. In order for the coercion model to use it, I had to fight with
coercions declared in the constructor (self._populate_coercion_lists_)
versus has_coerce_map_from. Depending on what you choose, different
coercions are chosen. Namely, there was a predefined coercion RLF -> RBF
in the constructor. As a consequence, any object with a coercion to RLF
would go through this map. It is the case for number fields.

Is there a concrete bug to be fixed here. If so: please create a ticket. Or did you work around it?

I did work around it for arb, but it does not work for RIF

   https://trac.sagemath.org/ticket/24422

Vincent

--
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to