Skip to content

Commit 1f6e822

Browse files
committed
fix mistakes
1 parent 5494b1c commit 1f6e822

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/sage/algebras/cluster_algebra.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1988,7 +1988,7 @@ def F_polynomial(self, g_vector):
19881988
msg += "you can compute it by mutating from the initial seed along the sequence "
19891989
msg += str(self._path_dict[g_vector])
19901990
raise KeyError(msg)
1991-
raise KeyError("the g-vector %s has not been found yet".format(g_vector))
1991+
raise KeyError("the g-vector {} has not been found yet".format(g_vector))
19921992

19931993
def find_g_vector(self, g_vector, depth=infinity):
19941994
r"""

src/sage/algebras/fusion_rings/f_matrix.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1379,7 +1379,7 @@ def _map_triv_reduce(self, mapper, input_iter, worker_pool=None, chunksize=None,
13791379
else:
13801380
mapped = worker_pool.imap_unordered(executor, input_iter, chunksize=chunksize)
13811381
# Reduce phase
1382-
results = {child_eqns for child_eqns in mapped
1382+
results = {eqn for child_eqns in mapped for eqn in child_eqns
13831383
if child_eqns is not None}
13841384
return list(results)
13851385

0 commit comments

Comments
 (0)