From ec479e0edceb5759d24d4521e56ad8f63cc26354 Mon Sep 17 00:00:00 2001 From: Matthew Badin Date: Sat, 1 May 2021 11:30:24 -0700 Subject: BLD: Minimize diff --- numpy/distutils/system_info.py | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'numpy/distutils/system_info.py') diff --git a/numpy/distutils/system_info.py b/numpy/distutils/system_info.py index 7a031bf9e..234b4afc9 100644 --- a/numpy/distutils/system_info.py +++ b/numpy/distutils/system_info.py @@ -1754,13 +1754,6 @@ class lapack_opt_info(system_info): 'accelerate', 'atlas', 'lapack'] order_env_var_name = 'NPY_LAPACK_ORDER' - def _calc_info_accelerate(self): - info = get_info('accelerate') - if info: - self.set_info(**info) - return True - return False - def _calc_info_mkl(self): info = get_info('lapack_mkl') if info: @@ -1811,6 +1804,13 @@ class lapack_opt_info(system_info): return True return False + def _calc_info_accelerate(self): + info = get_info('accelerate') + if info: + self.set_info(**info) + return True + return False + def _get_info_blas(self): # Default to get the optimized BLAS implementation info = get_info('blas_opt') @@ -1931,13 +1931,6 @@ class blas_opt_info(system_info): 'accelerate', 'atlas', 'blas'] order_env_var_name = 'NPY_BLAS_ORDER' - def _calc_info_accelerate(self): - info = get_info('accelerate') - if info: - self.set_info(**info) - return True - return False - def _calc_info_mkl(self): info = get_info('blas_mkl') if info: @@ -1972,6 +1965,13 @@ class blas_opt_info(system_info): return True return False + def _calc_info_accelerate(self): + info = get_info('accelerate') + if info: + self.set_info(**info) + return True + return False + def _calc_info_blas(self): # Warn about a non-optimized BLAS library warnings.warn(BlasOptNotFoundError.__doc__ or '', stacklevel=3) -- cgit v1.2.1