Hi,
I noticed a little bug in sage/geometry/polyhedral_complex. In line 1613 of is_convex the program calculates center = sum(vertices) / len(vertices) If the complex has no relative boundary cells (self.relative_boundary_cells()==[]) then "vertices" is an empty list. Thus, causing a division by zero error. I think that this can only happen if the polyhedral complex is empty or the entire space, thus returning "True" in that case should resolve the problem. Best regards, Leif Jacob -- 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 view this discussion visit https://groups.google.com/d/msgid/sage-devel/91e3373d-dab9-43bc-b2f9-46b6ceb8fcben%40googlegroups.com.