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

Commit

Permalink
use different precisions in doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Kliem committed Oct 28, 2021
1 parent fcf0f14 commit e1664ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/rings/continued_fraction.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ def rat_interval_cf_list(r1, r2):
sage: rat_interval_cf_list(257/113, 5224/2297)
[2, 3, 1, 1, 1, 4]
sage: for prec in range(10,54):
....: R = RealIntervalField(20)
....: R = RealIntervalField(prec)
....: for _ in range(100):
....: x = R.random_element() * R.random_element() + R.random_element() / 100
....: l = x.lower().exact_rational()
Expand Down

0 comments on commit e1664ff

Please sign in to comment.