From 6732fa013119aa2003f24d1dac1bdc4ee435ee5e Mon Sep 17 00:00:00 2001 From: arfy slowy Date: Mon, 26 Jul 2021 19:52:52 +0700 Subject: [PATCH] [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 --- arithmetic_analysis/lu_decomposition.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arithmetic_analysis/lu_decomposition.py b/arithmetic_analysis/lu_decomposition.py index ef37d1b7b..5bb631758 100644 --- a/arithmetic_analysis/lu_decomposition.py +++ b/arithmetic_analysis/lu_decomposition.py @@ -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: