We have discovered a small error in our recently published work [J. Opt. Soc. Am. A39, 2045 (2022)JOSAAH0030-394110.1364/JOSAA.467890], which we correct in this erratum. The error is located in Section 2.D and affects the solution for polydisperse distributions.