Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit 200d967

Browse files
author
Matthias Koeppe
committed
ConvexSet_base.ambient doctest: Actually test the method
1 parent f0e7c58 commit 200d967

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sage/geometry/convex_set.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,8 @@ def ambient(self):
124124
sage: class ExampleSet(ConvexSet_base):
125125
....: def ambient_vector_space(self, base_field=None):
126126
....: return (base_field or QQ)^2001
127-
sage: ExampleSet().ambient_dim()
128-
2001
127+
sage: ExampleSet().ambient()
128+
Vector space of dimension 2001 over Rational Field
129129
"""
130130
return self.ambient_vector_space()
131131

0 commit comments

Comments
 (0)