From 999c164c0624c56f7da0b5beed69023becff2e2e Mon Sep 17 00:00:00 2001 From: Anthony LaTorre Date: Sat, 20 Aug 2011 17:38:25 -0400 Subject: remove old commented code --- gpu.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gpu.py b/gpu.py index eeb759e..ff8db8c 100644 --- a/gpu.py +++ b/gpu.py @@ -240,9 +240,9 @@ class GPU(object): assert len(photons.polarizations) == self.nphotons assert len(photons.wavelengths) == self.nphotons - self.positions_gpu = gpuarray.to_gpu(to_float3(photons.positions))#.astype(np.float32).view(gpuarray.vec.float3)) - self.directions_gpu = gpuarray.to_gpu(to_float3(photons.directions))#.astype(np.float32).view(gpuarray.vec.float3)) - self.polarizations_gpu = gpuarray.to_gpu(to_float3(photons.polarizations))#.astype(np.float32).view(gpuarray.vec.float3)) + self.positions_gpu = gpuarray.to_gpu(to_float3(photons.positions)) + self.directions_gpu = gpuarray.to_gpu(to_float3(photons.directions)) + self.polarizations_gpu = gpuarray.to_gpu(to_float3(photons.polarizations)) self.wavelengths_gpu = gpuarray.to_gpu(photons.wavelengths.astype(np.float32)) if photons.times is not None: -- cgit