From a85d4d703eada849d5274f82808fd5f8461015aa Mon Sep 17 00:00:00 2001
From: Anton Akhmerov <anton.akhmerov@gmail.com>
Date: Tue, 3 Sep 2013 15:28:33 +0200
Subject: [PATCH] improve comment regarding scipy monkey-patching

---
 kwant/solvers/sparse.py | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/kwant/solvers/sparse.py b/kwant/solvers/sparse.py
index b2712f3..f285ef8 100644
--- a/kwant/solvers/sparse.py
+++ b/kwant/solvers/sparse.py
@@ -22,10 +22,9 @@ uses_umfpack = linsolve.isUmfpack
 
 if uses_umfpack:
     # This patches a memory leak in SciPy:
-    # http://projects.scipy.org/scipy/ticket/1597
+    # https://github.com/scipy/scipy/issues/2122
     #
-    # TODO: Remove this code once it is likely that the official bug fix has
-    # reached all of our users.
+    # TODO: Remove this code once we depend on scipy >= 0.10.1.
     def del_for_umfpackcontext(self):
         self.free()
     if not hasattr(umfpack.UmfpackContext, '__del__'):
-- 
GitLab