The Julia REPL prints out the following error trace:
julia> x = nonneg_lsq(A,b)
WARNING: Array{T}(::Type{T}, m::Int, n::Int) is deprecated, use Array{T}(m, n) instead.
Stacktrace:
[1] depwarn(::String, ::Symbol) at ./deprecated.jl:70
[2] Array(::Type{Float64}, ::Int64, ::Int64) at ./deprecated.jl:57
[3] #pivot#10(::Bool, ::Array{Any,1}, ::Function, ::Array{Float64,2}, ::Array{Float64,2}) at /Applications/JuliaPro-0.5.1.1.app/Contents/Resources/pkgs-0.5.1.1/lib/v0.6/NonNegLeastSquares/src/pivot.jl:99
[4] #nonneg_lsq#19(::Symbol, ::Symbol, ::Bool, ::Array{Any,1}, ::Function, ::Array{Float64,2}, ::Array{Float64,2}) at /Applications/JuliaPro-0.5.1.1.app/Contents/Resources/pkgs-0.5.1.1/lib/v0.6/NonNegLeastSquares/src/interface.jl:61
[5] #nonneg_lsq#20(::Array{Any,1}, ::Function, ::Array{Float64,2}, ::Array{Float64,1}) at /Applications/JuliaPro-0.5.1.1.app/Contents/Resources/pkgs-0.5.1.1/lib/v0.6/NonNegLeastSquares/src/interface.jl:70
[6] nonneg_lsq(::Array{Float64,2}, ::Array{Float64,1}) at /Applications/JuliaPro-0.5.1.1.app/Contents/Resources/pkgs-0.5.1.1/lib/v0.6/NonNegLeastSquares/src/interface.jl:70
[7] eval(::Module, ::Any) at ./boot.jl:235
[8] eval_user_input(::Any, ::Base.REPL.REPLBackend) at ./REPL.jl:66
[9] macro expansion at ./REPL.jl:97 [inlined]
[10] (::Base.REPL.##1#2{Base.REPL.REPLBackend})() at ./event.jl:73
while loading no file, in expression starting on line 0
WARNING: ~(B::BitArray) is deprecated, use .~(B) instead.
Stacktrace:
[1] depwarn(::String, ::Symbol) at ./deprecated.jl:70
[2] ~(::BitArray{1}) at ./deprecated.jl:57
[3] #pivot#9(::Float64, ::Int64, ::Function, ::Array{Float64,2}, ::Array{Float64,1}) at /Applications/JuliaPro-0.5.1.1.app/Contents/Resources/pkgs-0.5.1.1/lib/v0.6/NonNegLeastSquares/src/pivot.jl:38
[4] #pivot#10(::Bool, ::Array{Any,1}, ::Function, ::Array{Float64,2}, ::Array{Float64,2}) at /Applications/JuliaPro-0.5.1.1.app/Contents/Resources/pkgs-0.5.1.1/lib/v0.6/NonNegLeastSquares/src/pivot.jl:101
[5] #nonneg_lsq#19(::Symbol, ::Symbol, ::Bool, ::Array{Any,1}, ::Function, ::Array{Float64,2}, ::Array{Float64,2}) at /Applications/JuliaPro-0.5.1.1.app/Contents/Resources/pkgs-0.5.1.1/lib/v0.6/NonNegLeastSquares/src/interface.jl:61
[6] #nonneg_lsq#20(::Array{Any,1}, ::Function, ::Array{Float64,2}, ::Array{Float64,1}) at /Applications/JuliaPro-0.5.1.1.app/Contents/Resources/pkgs-0.5.1.1/lib/v0.6/NonNegLeastSquares/src/interface.jl:70
[7] nonneg_lsq(::Array{Float64,2}, ::Array{Float64,1}) at /Applications/JuliaPro-0.5.1.1.app/Contents/Resources/pkgs-0.5.1.1/lib/v0.6/NonNegLeastSquares/src/interface.jl:70
[8] eval(::Module, ::Any) at ./boot.jl:235
[9] eval_user_input(::Any, ::Base.REPL.REPLBackend) at ./REPL.jl:66
[10] macro expansion at ./REPL.jl:97 [inlined]
[11] (::Base.REPL.##1#2{Base.REPL.REPLBackend})() at ./event.jl:73
while loading no file, in expression starting on line 0
WARNING: A::AbstractArray & B::AbstractArray is deprecated, use A .& B instead.
Stacktrace:
[1] depwarn(::String, ::Symbol) at ./deprecated.jl:70
[2] &(::BitArray{1}, ::BitArray{1}) at ./deprecated.jl:57
[3] #pivot#9(::Float64, ::Int64, ::Function, ::Array{Float64,2}, ::Array{Float64,1}) at /Applications/JuliaPro-0.5.1.1.app/Contents/Resources/pkgs-0.5.1.1/lib/v0.6/NonNegLeastSquares/src/pivot.jl:41
[4] #pivot#10(::Bool, ::Array{Any,1}, ::Function, ::Array{Float64,2}, ::Array{Float64,2}) at /Applications/JuliaPro-0.5.1.1.app/Contents/Resources/pkgs-0.5.1.1/lib/v0.6/NonNegLeastSquares/src/pivot.jl:101
[5] #nonneg_lsq#19(::Symbol, ::Symbol, ::Bool, ::Array{Any,1}, ::Function, ::Array{Float64,2}, ::Array{Float64,2}) at /Applications/JuliaPro-0.5.1.1.app/Contents/Resources/pkgs-0.5.1.1/lib/v0.6/NonNegLeastSquares/src/interface.jl:61
[6] #nonneg_lsq#20(::Array{Any,1}, ::Function, ::Array{Float64,2}, ::Array{Float64,1}) at /Applications/JuliaPro-0.5.1.1.app/Contents/Resources/pkgs-0.5.1.1/lib/v0.6/NonNegLeastSquares/src/interface.jl:70
[7] nonneg_lsq(::Array{Float64,2}, ::Array{Float64,1}) at /Applications/JuliaPro-0.5.1.1.app/Contents/Resources/pkgs-0.5.1.1/lib/v0.6/NonNegLeastSquares/src/interface.jl:70
[8] eval(::Module, ::Any) at ./boot.jl:235
[9] eval_user_input(::Any, ::Base.REPL.REPLBackend) at ./REPL.jl:66
[10] macro expansion at ./REPL.jl:97 [inlined]
[11] (::Base.REPL.##1#2{Base.REPL.REPLBackend})() at ./event.jl:73
while loading no file, in expression starting on line 0
WARNING: ~(B::BitArray) is deprecated, use .~(B) instead.
Stacktrace:
[1] depwarn(::String, ::Symbol) at ./deprecated.jl:70
[2] ~(::BitArray{1}) at ./deprecated.jl:57
[3] #pivot#9(::Float64, ::Int64, ::Function, ::Array{Float64,2}, ::Array{Float64,1}) at /Applications/JuliaPro-0.5.1.1.app/Contents/Resources/pkgs-0.5.1.1/lib/v0.6/NonNegLeastSquares/src/pivot.jl:77
[4] #pivot#10(::Bool, ::Array{Any,1}, ::Function, ::Array{Float64,2}, ::Array{Float64,2}) at /Applications/JuliaPro-0.5.1.1.app/Contents/Resources/pkgs-0.5.1.1/lib/v0.6/NonNegLeastSquares/src/pivot.jl:101
[5] #nonneg_lsq#19(::Symbol, ::Symbol, ::Bool, ::Array{Any,1}, ::Function, ::Array{Float64,2}, ::Array{Float64,2}) at /Applications/JuliaPro-0.5.1.1.app/Contents/Resources/pkgs-0.5.1.1/lib/v0.6/NonNegLeastSquares/src/interface.jl:61
[6] #nonneg_lsq#20(::Array{Any,1}, ::Function, ::Array{Float64,2}, ::Array{Float64,1}) at /Applications/JuliaPro-0.5.1.1.app/Contents/Resources/pkgs-0.5.1.1/lib/v0.6/NonNegLeastSquares/src/interface.jl:70
[7] nonneg_lsq(::Array{Float64,2}, ::Array{Float64,1}) at /Applications/JuliaPro-0.5.1.1.app/Contents/Resources/pkgs-0.5.1.1/lib/v0.6/NonNegLeastSquares/src/interface.jl:70
[8] eval(::Module, ::Any) at ./boot.jl:235
[9] eval_user_input(::Any, ::Base.REPL.REPLBackend) at ./REPL.jl:66
[10] macro expansion at ./REPL.jl:97 [inlined]
[11] (::Base.REPL.##1#2{Base.REPL.REPLBackend})() at ./event.jl:73
while loading no file, in expression starting on line 0
The Julia REPL prints out the following error trace: