From 194cc5771408dd219c4422c701e47e3b0d8dade6 Mon Sep 17 00:00:00 2001 From: Alexander Hampel Date: Mon, 22 Jan 2024 15:13:44 -0500 Subject: [PATCH] [fix] scipy.compress depr -> numpy.compress --- python/triqs_dft_tools/sumk_dft.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/triqs_dft_tools/sumk_dft.py b/python/triqs_dft_tools/sumk_dft.py index 676ad395..79933ba1 100644 --- a/python/triqs_dft_tools/sumk_dft.py +++ b/python/triqs_dft_tools/sumk_dft.py @@ -36,7 +36,7 @@ from .block_structure import BlockStructure from .util import compute_DC_from_density from itertools import product from warnings import warn -from scipy import compress +from numpy import compress from scipy.optimize import minimize, newton, brenth