Ad
  • Custom User Avatar

    The same happened with me. I had a similar code.
    The problem is with the second last line. Notice that population must be an integer, and cannot be a floating point number.
    So you need to convert the increment to an integer before you add it to p0.