Commit ba085736 authored by Pierre Lairez's avatar Pierre Lairez
Browse files

Preserve path in Family.modulo

parent a62e7443
......@@ -79,7 +79,7 @@ class Family(object):
return cohomology.Cohomology(self.pol(self.pol.base_ring()(t)))
def modulo(self, prime):
return Family(FiniteField(prime).one() * self.pol)
return Family(FiniteField(prime).one() * self.pol, path=self._path)
def _gaussmanin(self, pt):
logger.debug("Evaluating cohomology at a point %s" % str(pt))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment