From a86c88e5a1e48597fedfc3687ef78ec627db57d7 Mon Sep 17 00:00:00 2001 From: Travis Scrimshaw Date: Wed, 5 Jun 2024 11:19:51 +0900 Subject: [PATCH] Removing extra parenthesis. --- src/sage/algebras/hecke_algebras/ariki_koike_algebra.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sage/algebras/hecke_algebras/ariki_koike_algebra.py b/src/sage/algebras/hecke_algebras/ariki_koike_algebra.py index 92e1838e68f..3bc2e541f7e 100644 --- a/src/sage/algebras/hecke_algebras/ariki_koike_algebra.py +++ b/src/sage/algebras/hecke_algebras/ariki_koike_algebra.py @@ -1230,7 +1230,7 @@ def _basis_to_word(self, t): for i, k in enumerate(t[0]): if not k: continue - redword.extend(list(range(i, 0, -1))) + [0]*k) + redword.extend(list(range(i, 0, -1)) + [0]*k) redword.extend(t[1].reduced_word()) return redword