From 03a464ab9d5539a6fbac9c5e1046d34abad2cbcf Mon Sep 17 00:00:00 2001
From: Andreas Kloeckner <inform@tiker.net>
Date: Sun, 31 Oct 2010 00:17:06 -0400
Subject: [PATCH] Re-add from __future__ import division where removed by 2to3.

---
 examples/transpose.py | 3 +--
 test/test_clmath.py   | 2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/examples/transpose.py b/examples/transpose.py
index 21cc8cd8..b6a073de 100644
--- a/examples/transpose.py
+++ b/examples/transpose.py
@@ -1,8 +1,7 @@
 # Transposition of a matrix
 # originally for PyCUDA by Hendrik Riedmann <riedmann@dam.brown.edu>
 
-
-
+from __future__ import division
 import pyopencl as cl
 import numpy
 import numpy.linalg as la
diff --git a/test/test_clmath.py b/test/test_clmath.py
index f31485fe..9228b57b 100644
--- a/test/test_clmath.py
+++ b/test/test_clmath.py
@@ -1,4 +1,4 @@
-
+from __future__ import division
 import math
 import numpy
 import pytools.test
-- 
GitLab