From d7aa235b06e280fac9c3f1ee2a24c218f1845a3e Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner <inform@tiker.net> Date: Tue, 24 Jul 2012 12:06:17 -0500 Subject: [PATCH] Fix build-from-binary. --- pyopencl/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyopencl/__init__.py b/pyopencl/__init__.py index 0e213376..1fb68cb2 100644 --- a/pyopencl/__init__.py +++ b/pyopencl/__init__.py @@ -127,8 +127,8 @@ class Program(object): self._context, self._source, options, devices, cache_dir=cache_dir) - del self._context - del self._source + del self._context + del self._source return self -- GitLab