fix variable bug in deplete.abc.py

This commit is contained in:
rockfool 2019-11-18 00:21:19 -05:00
parent 33cdeb44ed
commit 885f4c6acb

View file

@ -815,11 +815,11 @@ class SIIntegrator(Integrator):
reset_particles = False
if step_index == 0 and hasattr(self.operator, "settings"):
reset_particles = True
self.operator.settings.particles *= self.n_stages
self.operator.settings.particles *= self.n_steps
inherited = super()._get_bos_data_from_operator(
step_index, step_power, bos_conc)
if reset_particles:
self.operator.settings.particles //= self.n_stages
self.operator.settings.particles //= self.n_steps
return inherited
def integrate(self):