Skip to content

Commit

Permalink
make random doctest fuzz ready
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Kliem committed Jul 13, 2020
1 parent 7e4c90b commit f7dc36b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sage/geometry/linear_expression.py
Original file line number Diff line number Diff line change
Expand Up @@ -653,8 +653,8 @@ def random_element(self):
sage: from sage.geometry.linear_expression import LinearExpressionModule
sage: L.<x,y,z> = LinearExpressionModule(QQ)
sage: L.random_element()
-1/2*x - 1/95*y + 1/2*z - 12
sage: L.random_element() in L
True
"""
A = self.ambient_module().random_element()
b = self.base_ring().random_element()
Expand Down

0 comments on commit f7dc36b

Please sign in to comment.