summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony LaTorre <tlatorre9@gmail.com>2011-08-20 17:38:25 -0400
committerAnthony LaTorre <tlatorre9@gmail.com>2011-08-20 17:38:25 -0400
commit999c164c0624c56f7da0b5beed69023becff2e2e (patch)
tree547dbc9e6025577d3dc7b22d9307d2b71f488208
parentae5944e72f60aa2041d7316f9dee2f6062af3f58 (diff)
downloadchroma-999c164c0624c56f7da0b5beed69023becff2e2e.tar.gz
chroma-999c164c0624c56f7da0b5beed69023becff2e2e.tar.bz2
chroma-999c164c0624c56f7da0b5beed69023becff2e2e.zip
remove old commented code
-rw-r--r--gpu.py6
1 files 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: