Erratum to “Lamé differential equations and electrostatics”