What the code does is to assign PP to a suitable projective space. I imagine that the intention was for the user to provide the ambient space if they had it handy, so that assignment should be wrapped in "if PP is None:".
John 2009/3/16 dmharvey <dmhar...@cims.nyu.edu>: > > Hi, > > The constructor for hyperelliptic curves has the following signature: > > def HyperellipticCurve(f,h=None,names=None,PP=None) > > but the code doesn't seem to use the PP parameter anywhere, and there > are no examples of its use in the docstring. In fact the first thing > the code does with PP is overwrite it. Does anyone know what its > purpose is? Should it be removed? > > david > > > > --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---