> On Mon, Nov 09, 2015 at 03:20:39PM +0000, Finucane, Stephen wrote:
> > > That wouldn't work either. On the last iteration (count - 1)/count
> would
> > > be printed and count/count would never be printed.
> >
> > Right you are. What on earth was that code doing there at all? :)
> 
> Actually, because i goes from 0 to count - 1, another option is to print
> (i + 1)/count, and the i == count - 1 condition could then ben used.

Which option would you prefer?

Stephen
_______________________________________________
Patchwork mailing list
Patchwork@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/patchwork

Reply via email to