diff --git a/src/sage/geometry/polyhedron/combinatorial_polyhedron/base.pyx b/src/sage/geometry/polyhedron/combinatorial_polyhedron/base.pyx index 05b633767cf..66fbe6f02f4 100644 --- a/src/sage/geometry/polyhedron/combinatorial_polyhedron/base.pyx +++ b/src/sage/geometry/polyhedron/combinatorial_polyhedron/base.pyx @@ -1296,7 +1296,7 @@ cdef class CombinatorialPolyhedron(SageObject): d = face_iter.next_dimension() while (d < dim): sig_check() - if face_iter.length_atom_repr() == d + 1: + if face_iter.n_atom_rep() == d + 1: # The current face is a simplex. face_iter.ignore_subfaces() else: @@ -1367,7 +1367,7 @@ cdef class CombinatorialPolyhedron(SageObject): d = face_iter.next_dimension() while (d < dim): sig_check() - if face_iter.length_atom_repr() == d + 1: + if face_iter.n_atom_rep() == d + 1: # The current face is a simplex. face_iter.ignore_supfaces() else: