Skip to content

Commit

Permalink
Merge pull request #14362 from jakobjakobson13/use_comprehensions
Browse files Browse the repository at this point in the history
Use list comprehension
  • Loading branch information
tylerjereddy committed Jul 7, 2021
2 parents da9c3b2 + c10afc4 commit 4a4ca22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scipy/special/_precompute/utils.py
Expand Up @@ -34,5 +34,5 @@ def lagrange_inversion(a):
b = [mp.mpf(0)]
for k in range(1, n):
b.append(hpower[k].coeff(x, k - 1)/k)
b = map(lambda x: mp.mpf(x), b)
b = [mp.mpf(x) for x in b]
return b

0 comments on commit 4a4ca22

Please sign in to comment.