On Nov 25, 1:53 pm, Simon King <simon.k...@uni-jena.de> wrote:
> Hi Luis,
>
> With merging as I proposed in my previous post, one gets
>
> sage: K.<r4> = NumberField(x^4-2)
> sage: L1.<r2_1> = NumberField(x^2-2, embedding = r4**2)
> sage: L2.<r2_2> = NumberField(x^2-2, embedding = -r4**2)
> sage: from sage.categories.pushout import pushout
> sage: pushout(L1,L2)
> Number Field in r4 with defining polynomial x^4 - 2
>
> But apparently something else is wrong, since r2_1+r2_2 still yields
> the ERROR that you observed, even though
> sage: K(r2_1) + K(r2_2)
> 0
>
> Now I'm puzzled where the ERROR comes from.
>
> Cheers,
> Simon

mmm, with a clean sage 4.6 I get

sage: pushout(L1,L2)
Exception RuntimeError: 'maximum recursion depth exceeded while
calling a Python object' in <type 'exceptions.TypeError'> ignored
...
RuntimeError: maximum recursion depth exceeded

I will try with patch #8800

With your new code does John's example L1.composite_fields(L2) work?

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to