diff --git a/src/sage/geometry/convex_set.py b/src/sage/geometry/convex_set.py index c6dc7967e4d..d43ba7dbfff 100644 --- a/src/sage/geometry/convex_set.py +++ b/src/sage/geometry/convex_set.py @@ -124,8 +124,8 @@ def ambient(self): sage: class ExampleSet(ConvexSet_base): ....: def ambient_vector_space(self, base_field=None): ....: return (base_field or QQ)^2001 - sage: ExampleSet().ambient_dim() - 2001 + sage: ExampleSet().ambient() + Vector space of dimension 2001 over Rational Field """ return self.ambient_vector_space()