From 1d38a1d5601e9da8f6796f31f53fdf4926a7ca8a Mon Sep 17 00:00:00 2001 From: Christoph Groth <christoph.groth@cea.fr> Date: Wed, 27 Feb 2019 17:27:37 +0100 Subject: [PATCH] fix DeprecationWarning in kpm module --- kwant/kpm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kwant/kpm.py b/kwant/kpm.py index 967ba4f1..eb161de3 100644 --- a/kwant/kpm.py +++ b/kwant/kpm.py @@ -8,7 +8,7 @@ # http://kwant-project.org/authors. import math from operator import add -from collections import Iterable +from collections.abc import Iterable from functools import reduce import numpy as np from numpy.polynomial.chebyshev import chebval -- GitLab