summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Seibert <stan@mtrr.org>2011-08-18 19:40:19 -0400
committerStan Seibert <stan@mtrr.org>2011-08-18 19:40:19 -0400
commit025e1e117a2776077110a0f44aecb1e7b17e6446 (patch)
tree43a721022c196eab8f2b85d9d80e97995c025f46
parent6adecdaca7353b28e7a3d77ed563b5f98b86c137 (diff)
downloadchroma-025e1e117a2776077110a0f44aecb1e7b17e6446.tar.gz
chroma-025e1e117a2776077110a0f44aecb1e7b17e6446.tar.bz2
chroma-025e1e117a2776077110a0f44aecb1e7b17e6446.zip
Actually pass the max_steps variable in sim.propagate_photons to the
GPU class.
-rwxr-xr-xsim.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim.py b/sim.py
index fce559e..c52a071 100755
--- a/sim.py
+++ b/sim.py
@@ -85,7 +85,7 @@ class Simulation(object):
def propagate_photons(self, photons, max_steps=10):
self.gpu_worker.load_photons(photons)
- self.gpu_worker.propagate()
+ self.gpu_worker.propagate(max_steps=max_steps)
return self.gpu_worker.get_photons()
@profile_if_possible