diff options
Diffstat (limited to 'gbeam_propagation.m')
-rw-r--r-- | gbeam_propagation.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gbeam_propagation.m b/gbeam_propagation.m index 53f9173..2831880 100644 --- a/gbeam_propagation.m +++ b/gbeam_propagation.m @@ -30,7 +30,7 @@ function q = gbeam_propagation(x_pos, q_in, x_in, optics_elements) % with x_in i.e it is 0 in backwards x coordinates (or at index 1) then % we need to apply abcd matrix of that element in advance. if ( optics_elements_backw{i}.x == 0) - q_in_backw(1) = q_after_element( q_in_backw(1), optics_elements_backw{i}.abcd); + q_in_backw(1) = q_after_abcd( q_in_backw(1), optics_elements_backw{i}.abcd); end end |