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

Commit

Permalink
ConvexSet_base.ambient doctest: Actually test the method
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Jun 17, 2021
1 parent f0e7c58 commit 200d967
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sage/geometry/convex_set.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 200d967

Please sign in to comment.