diff options
author | Stan Seibert <stan@mtrr.org> | 2011-08-18 19:40:19 -0400 |
---|---|---|
committer | Stan Seibert <stan@mtrr.org> | 2011-08-18 19:40:19 -0400 |
commit | 025e1e117a2776077110a0f44aecb1e7b17e6446 (patch) | |
tree | 43a721022c196eab8f2b85d9d80e97995c025f46 | |
parent | 6adecdaca7353b28e7a3d77ed563b5f98b86c137 (diff) | |
download | chroma-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-x | sim.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |