Kristoffer Carlsson Wed, 23 Mar 2016 13:49:00 -0700
nb_points = (stop-start)/step;
will not be a float that can be exactly converted to an integer due to floating point errors.