OpticSim.jl
OpticSim.jl copied to clipboard
Update GridSag.jl
The function "GridSagSurface(... AbstractArray{T,2}...)" tries to assert that the third dimension of the array has length 4, althoug the input only has two dimensions. The third dimension should be filled with all zeroes in line 46. Probably copy-paste issue from the 3D-array functions.
Thanks for the fix @gerritlaube!