diff --git a/sage/toric_topdata.sage b/sage/toric_topdata.sage index 71c3b34..597a1bd 100644 --- a/sage/toric_topdata.sage +++ b/sage/toric_topdata.sage @@ -101,7 +101,8 @@ class ToricPolytope(Polytope): if no_triangulation < 0 or no_triangulation >= len(self.triangulations): raise IndexError("Invalid triangulation index {} (available: 0..{}).".format(no_triangulation, len(self.triangulations) - 1)) - logger.info("Using triangulation index %d of [0..%d].", no_triangulation, len(self.triangulations) - 1) + if len(self.triangulations) > 1: + logger.info("Using triangulation index %d of [0..%d].", no_triangulation, len(self.triangulations) - 1) self.triangulation = self.triangulations[no_triangulation] def set_nef_partition(self, nef_partition):