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

Commit

Permalink
fix lmul and rmul doctests
Browse files Browse the repository at this point in the history
  • Loading branch information
mantepse committed Aug 12, 2021
1 parent 8bb128c commit 3566076
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/sage/rings/lazy_laurent_series.py
Original file line number Diff line number Diff line change
Expand Up @@ -734,14 +734,14 @@ def _acted_upon_(self, scalar, self_on_left):
sage: O[0:10]
[2, 4, 6, 8, 10, 12, 14, 16, 18, 20]
sage: type(O._coeff_stream)
<class 'sage.data_structures.coefficient_stream.CoefficientStream_rmul'>
<class 'sage.data_structures.coefficient_stream.CoefficientStream_lmul'>
sage: M * 1 is M
True
sage: M * 0 == 0
True
sage: O = 2 * M
sage: type(O._coeff_stream)
<class 'sage.data_structures.coefficient_stream.CoefficientStream_rmul'>
<class 'sage.data_structures.coefficient_stream.CoefficientStream_lmul'>
sage: O[0:10]
[2, 4, 6, 8, 10, 12, 14, 16, 18, 20]
sage: 1 * M is M
Expand All @@ -757,14 +757,14 @@ def _acted_upon_(self, scalar, self_on_left):
sage: O[0:10]
[2, 4, 6, 8, 10, 12, 14, 16, 18, 20]
sage: type(O._coeff_stream)
<class 'sage.data_structures.coefficient_stream.CoefficientStream_rmul'>
<class 'sage.data_structures.coefficient_stream.CoefficientStream_lmul'>
sage: M * 1 is M
True
sage: M * 0 == 0
True
sage: O = 2 * M
sage: type(O._coeff_stream)
<class 'sage.data_structures.coefficient_stream.CoefficientStream_rmul'>
<class 'sage.data_structures.coefficient_stream.CoefficientStream_lmul'>
sage: O[0:10]
[2, 4, 6, 8, 10, 12, 14, 16, 18, 20]
sage: 1 * M is M
Expand Down

0 comments on commit 3566076

Please sign in to comment.