Figured out my problem. I was defining a method for my HyperplaneArrangement class but forgot to include 'self' as an argument. Duh.
Dave On Sunday, July 21, 2013 12:58:24 PM UTC-7, davidp wrote: > > I am working on a Sage package for hyperplane arrangements. In my file > hyperplane_arrangement.py, > I would like to use the function 'center' > from sage/geometry/polyhedron/basepy. (It finds the center of a > polyhedron.) > I have tried to import it with > > import from sage.geometry.polyhedron.base import center > > but that crashes Sage. I have tried several variations on this theme. > Could someone please tell me the magic words? > > Thanks, > Dave > -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/groups/opt_out.
