Closed ederag closed 2 years ago
This avoids the "division by zero" warning when one face of a spherical lens actually has zero curvature. Together with #116 that was merged, this fixes #94 (the warning lead to use unreasonably small curvatures instead of plain 0).
This avoids the "division by zero" warning when one face of a spherical lens actually has zero curvature. Together with #116 that was merged, this fixes #94 (the warning lead to use unreasonably small curvatures instead of plain 0).