From a discrete to a continuous model for interpulse interference with a frequency-comb laser