The docstring for Integrator.integrate() methods specifies that when final_step is False, a transport solve should not be run at the end of the final timestep. In the corner case where len(timesteps) == 1, it seems that the code runs a transport solve after this timestep regardless of the value of final_step.
Bug Description
The docstring for
Integrator.integrate()
methods specifies that whenfinal_step
isFalse
, a transport solve should not be run at the end of the final timestep. In the corner case wherelen(timesteps) == 1
, it seems that the code runs a transport solve after this timestep regardless of the value offinal_step
.Steps to Reproduce
Environment
OpenMC 0.14.1 installed from source.