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

Commit

Permalink
replace unstable doctest by doctest according to code and documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Kliem committed Jun 11, 2021
1 parent 3d85786 commit 7fbdf5d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/sage/modules/free_module_integer.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,11 +311,7 @@ def reduced_basis(self):
True
sage: LLL = L.LLL()
sage: LLL == L.reduced_basis
True
sage: bool(min(a.norm() for a in LLL) == LLL[0].norm())
True
sage: bool(LLL[0].norm() <= M[0].norm())
sage: LLL == L.reduced_basis or bool(LLL[0].norm() >= M[0].norm())
True
"""
return self._reduced_basis
Expand Down

0 comments on commit 7fbdf5d

Please sign in to comment.