Skip to content

Commit 6732fa0

Browse files
authored
[fixed] module 'numpy' is imported with both 'import' and 'import from' (TheAlgorithms#4544)
* [fixed] module 'numy' is imported with both 'import' and 'import from' * remove commented
1 parent 7634cf0 commit 6732fa0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

arithmetic_analysis/lu_decomposition.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,9 @@
66
from typing import Tuple
77

88
import numpy as np
9-
from numpy import ndarray
109

1110

12-
def lower_upper_decomposition(table: ndarray) -> Tuple[ndarray, ndarray]:
11+
def lower_upper_decomposition(table: np.ndarray) -> Tuple[np.ndarray, np.ndarray]:
1312
"""Lower-Upper (LU) Decomposition
1413
1514
Example:

0 commit comments

Comments
 (0)