Hi, all,

I am stuck in a twisty maze of passages within the number field code.  Here’s 
an example:

f=x^4+2
K.<a>=NumberField(f)
OK = K.maximal_order()
a = OK.gen()
O = ZZ[a]
O.index_in(OK)

!Boom: not matching ambients!

It seems as if this should work, at least if I could figure out how to patch 
things together.

Is coercion the answer?  How do I do that, if so.

Thanks for any help.

Justin


-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/sage-support/1B920317-1E94-4FDB-B1AC-3F3C8EC329CD%40mac.com.

Reply via email to