From 48bb425681ab70a33c706f93317aa74e16172e4b Mon Sep 17 00:00:00 2001 From: Martin Rubey Date: Thu, 29 Sep 2022 11:59:36 +0200 Subject: [PATCH] cherry pick the commit from https://github.com/sagemath/sage/issues/34610 --- src/sage/rings/lazy_series.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sage/rings/lazy_series.py b/src/sage/rings/lazy_series.py index c156cb12538..c9e079702bc 100644 --- a/src/sage/rings/lazy_series.py +++ b/src/sage/rings/lazy_series.py @@ -4344,7 +4344,7 @@ def __call__(self, *g, check=True): Given a Taylor series `f` of arity `n` and a tuple of Taylor series `g = (g_1,\dots, g_n)` over the same base ring, the composition `f \circ g` is defined if and only if for each - `1\leq k\leq n`: + `1\leq i\leq n`: - `g_i` is zero, or - setting all variables except the `i`-th in `f` to zero @@ -5285,7 +5285,7 @@ def __call__(self, *args, check=True): Given a lazy symmetric function `f` of arity `n` and a tuple of lazy symmetric functions `g = (g_1,\dots, g_n)` over the same base ring, the composition (or plethysm) `(f \circ g)` - is defined if and only if for each `1\leq k\leq n`: + is defined if and only if for each `1\leq i\leq n`: - `g_i = 0`, or - setting all alphabets except the `i`-th in `f` to zero