From 200d967982e2d4c600658354ef80a15f1ed0ccd8 Mon Sep 17 00:00:00 2001 From: Matthias Koeppe Date: Thu, 17 Jun 2021 05:58:51 -0700 Subject: [PATCH] ConvexSet_base.ambient doctest: Actually test the method --- src/sage/geometry/convex_set.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()