Hi,

I thought the idiom to define a map is:

from sage.categories.map import Map
from sage.categories.homset import Hom
from sage.categories.fields import Fields

class Derivation(Map):
    def __init__(self, field):
        Map.__init__(self, Hom(field, field, Fields()))

But then the last two tests fail:

d = Derivation(GF(2))
d._test_category()
d._test_pickling()

What did I do wrong? Or what should I do more? 

Thank you for attention in advance.




-- 
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 post to this group, send email to sage-devel@googlegroups.com.
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