Hi, all,

I think I understand what’s going wrong, but I don’t understand how to fix the 
following problem:

sage: K.<a>=NumberField(x^2-10)
sage: OK=K.maximal_order()
sage: O=ZZ[a]
sage: a in OK
True
sage: a in K
True
sage: a in O
True
sage: O.index_in(OK)
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
...Blooie
ValueError: other must have the same ambient number field as self.

Have we just painted ourselves into a (figurative) corner?

Pointers?  Suggestions?

Thanks for any help.

Justin

--
Justin C. Walker, Curmudgeon at Large
Institute for the Absorption of Federal Funds
-----------
While creating wives, God promised men
that good and obedient wives would be
found in all corners of the world.
Then He made the earth round.
--








-- 
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 sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/80FC7B43-0DFD-4C1A-A7EE-BE4F2A3C2D2C%40mac.com.

Reply via email to