Fixed bug where code returns incorrect variable period timestep when timestep gets large, due to an unneccessary int-to-float cast.
Fixed bug where code returns incorrect variable period timestep when timestep gets large, due to an unneccessary int-to-float cast.

joaander/hoomd-blue,joaander/hoomd-blue,joaander/hoomd-blue,joaander/hoomd-blue,joaander/hoomd-blue,joaander/hoomd-blue