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