Skip to content

Commit 555b54c

Browse files
committed
Minor changes to type hints
1 parent 60ad958 commit 555b54c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

maths/polynomials/legendre.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
# Imports de bibliothèques standard
22
from math import factorial
3+
from typing import List
34

45
# Imports de bibliothèques tierces
56
import pytest
67
from numpy.polynomial import Polynomial
78

89

9-
def legendre(n: int) -> [float]:
10+
def legendre(n: int) -> List[float]:
1011
"""
1112
Compute the coefficients of the nth Legendre polynomial.
1213

0 commit comments

Comments
 (0)