From 025e1e117a2776077110a0f44aecb1e7b17e6446 Mon Sep 17 00:00:00 2001 From: Stan Seibert Date: Thu, 18 Aug 2011 19:40:19 -0400 Subject: Actually pass the max_steps variable in sim.propagate_photons to the GPU class. --- sim.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit