Hey everyone,
   Suppose I have a homset H from X to Y, and now suppose I have two 
classes for the morphisms Phi, Psi which I want to choose between depending 
on the input to H.__call__(). I know the proper (I believe fastest?) way to 
do things is to set H.Element to the generic class so that we construct 
H.element_class which inherits properties from the corresponding category. 
It currently works if I just returning the correct class and passing the 
parent, but is this the best way to do things? I don't want to have to 
combine Phi and Psi into a common class for speed, but I can do so.

Thanks,
Travis

-- 
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 http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to