Given that you are using `from __future__ import division` there is no need to cast to `float`.