mirror of
https://hub.njuu.cf/TheAlgorithms/Python.git
synced 2023-10-11 13:06:12 +08:00
[fixed] module 'numpy' is imported with both 'import' and 'import from' (#4544)
* [fixed] module 'numy' is imported with both 'import' and 'import from' * remove commented
This commit is contained in:
parent
7634cf0d60
commit
6732fa0131
@ -6,10 +6,9 @@ Reference:
|
||||
from typing import Tuple
|
||||
|
||||
import numpy as np
|
||||
from numpy import ndarray
|
||||
|
||||
|
||||
def lower_upper_decomposition(table: ndarray) -> Tuple[ndarray, ndarray]:
|
||||
def lower_upper_decomposition(table: np.ndarray) -> Tuple[np.ndarray, np.ndarray]:
|
||||
"""Lower-Upper (LU) Decomposition
|
||||
|
||||
Example:
|
||||
|
Loading…
Reference in New Issue
Block a user