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

Commit

Permalink
fix failing doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Kliem committed Apr 10, 2020
1 parent 855098c commit 4f86bc3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/sage/rings/number_field/number_field.py
Original file line number Diff line number Diff line change
Expand Up @@ -5474,7 +5474,8 @@ def factor(self, n):
sage: pari('setrand(2)')
sage: L.<b> = K.extension(x^2 - 7)
sage: f = L.factor(a + 1); f # representation varies, not tested
sage: f = L.factor(a + 1)
sage: f # representation varies, not tested
(Fractional ideal (1/2*a*b - a + 1/2)) * (Fractional ideal (-1/2*a*b - a + 1/2))
sage: f.value() == a+1
True
Expand Down

0 comments on commit 4f86bc3

Please sign in to comment.