Skip to content

Commit

Permalink
Fix bug in radius conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
roflmaostc committed Feb 13, 2024
1 parent 65026cb commit b4f6d8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ray_optics.jl
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ function _prepare_ray_forward(target::AbstractArray{T}, ps::VialRayOptics) where
# return both the entrance intersection and exit intersection
heights = distort_rays_vial.(in_height,
radius_pixel,
radius_pixel / T(ps.R_outer * ps.R_inner),
radius_pixel / T(ps.R_outer) * T(ps.R_inner),
T(ps.n_vial),
T(ps.n_resin))

Expand Down

0 comments on commit b4f6d8e

Please sign in to comment.