Low values for the exponent (<= 6.0) could result in division by zero. This patch resolves issue #463 by doing better error handling on the input Mie potentials. Error messages are generated if the exponents are too small.
If epsilon = 0 then the exponent is adjusted to avoid division by zero and the simulation continues, as these exponents aren't used in this case.
Low values for the exponent (<= 6.0) could result in division by zero. This patch resolves issue #463 by doing better error handling on the input Mie potentials. Error messages are generated if the exponents are too small.
If epsilon = 0 then the exponent is adjusted to avoid division by zero and the simulation continues, as these exponents aren't used in this case.