While I'm using julia to compile a .jl file
pixelscale=4e-4
psfsize=4191.00
span = (2*pixelscale * floor(psfsize/2))/(psfsize-1)
temx = [-pixelscale * floor(psfsize/2)]
for i in psfsize
b=-pixelscale * floor(psfsize/2) + i*span
push!(temx,b)
end
meshtheta = temx
meshphi = temx'
R_pup = sqrt(meshphi^2 + meshtheta^2)
temx
is a one dimensional array and temx'
is transposed from temx
and error occurs:
LoadError: MethodError: convert(::Type{Union{}}, ::LinearAlgebra.Adjoint{Float64,Array{Float64,1}}) is ambiguous.
I can't see why it's wrong.Does anyone have any idea?