nb_points = (stop-start)/step;

will not be a float that can be exactly converted to an integer due to floating 
point errors.

Reply via email to