diff options
author | Anthony LaTorre <tlatorre9@gmail.com> | 2011-08-20 17:38:25 -0400 |
---|---|---|
committer | Anthony LaTorre <tlatorre9@gmail.com> | 2011-08-20 17:38:25 -0400 |
commit | 999c164c0624c56f7da0b5beed69023becff2e2e (patch) | |
tree | 547dbc9e6025577d3dc7b22d9307d2b71f488208 | |
parent | ae5944e72f60aa2041d7316f9dee2f6062af3f58 (diff) | |
download | chroma-999c164c0624c56f7da0b5beed69023becff2e2e.tar.gz chroma-999c164c0624c56f7da0b5beed69023becff2e2e.tar.bz2 chroma-999c164c0624c56f7da0b5beed69023becff2e2e.zip |
remove old commented code
-rw-r--r-- | gpu.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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: |