Skip to content

Commit 3d6d39f

Browse files
committed
fix typo in comment
1 parent 6745cf1 commit 3d6d39f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/sage/data_structures/stream.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1870,12 +1870,14 @@ def compute_product(self, n, la):
18701870
la_exp = la.to_exp()
18711871
wgt = [i for i, m in enumerate(la_exp, 1) if m]
18721872
exp = [m for m in la_exp if m]
1873+
# the docstring of wt_int_vec_iter, i.e., iterator_fast,
1874+
# states that the weights should be weakly decreasing
18731875
wgt.reverse()
18741876
exp.reverse()
18751877
for k in wt_int_vec_iter(n - ret_approx_order, wgt):
18761878
# TODO: it may make a big difference here if the
18771879
# approximate order would be updated.
1878-
# The test below is based off not removing the flxed block
1880+
# The test below is based on not removing the fixed block
18791881
#if any(d < self._right._approximate_order * m
18801882
# for m, d in zip(exp, k)):
18811883
# continue

0 commit comments

Comments
 (0)