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

Commit

Permalink
Trac #32921: use is_trivial_zero in old example
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel Lipnik committed Jan 11, 2022
1 parent cee66a6 commit b1f2b71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/combinat/k_regular_sequence.py
Original file line number Diff line number Diff line change
Expand Up @@ -1007,7 +1007,7 @@ def from_recurrence(self, *args, **kwds):
....: g(22) == 22, g(23) == 23, g(24) == 24, g(25) == 25,
....: g(26) == 26, g(27) == 27, g(28) == 28, g(29) == 29,
....: g(30) == 30, g(31) == 31], g, m, offset=8)
sage: all([S[i] == T[i] for i in srange(1000)])
sage: (S - T).is_trivial_zero()
True
Zero-sequence with non-zero initial values::
Expand Down

0 comments on commit b1f2b71

Please sign in to comment.