Do 
note: 
https://github.com/lindahua/NumericExtensions.jl/commit/16193a86ad0589520f944680a248ad36e3242682
.

The Union()s need to be Union{} to work on 0.5.

On Wednesday, September 14, 2016 at 2:16:11 PM UTC+2, Neal Becker wrote:
>
> julia> using NumericExtensions: logsumexp 
> INFO: Precompiling module ArrayViews. 
> WARNING: Method definition (::Type{ArrayViews.UnsafeContiguousView}) 
> (Ptr{#T<:Any}, Int64, Tuple{Vararg{Int64, #N<:Any}}) in module ArrayViews 
> at 
> /home/nbecker/.julia/v0.5/ArrayViews/src/arrviews.jl:18 overwritten at 
> /home/nbecker/.julia/v0.5/ArrayViews/src/arrviews.jl:26. 
> WARNING: symbol is deprecated, use Symbol instead. 
>  in symbol(::String, ::Vararg{Any,N}) at ./deprecated.jl:30 
>  in default_functorsym(::Symbol) at 
> /home/nbecker/.julia/v0.5/NumericFuns/src/functors.jl:39 
>  in @functor2a(::Any, ::Any) at 
> /home/nbecker/.julia/v0.5/NumericFuns/src/functors.jl:54 
>  in eval_user_input(::Any, ::Base.REPL.REPLBackend) at ./REPL.jl:64 
>  in macro expansion at ./REPL.jl:95 [inlined] 
>  in (::Base.REPL.##3#4{Base.REPL.REPLBackend})() at ./event.jl:68 
> while loading /home/nbecker/.julia/v0.5/NumericFuns/src/functors.jl, in 
> expression starting on line 139 
> WARNING: Method definition 
> (::Type{NumericFuns.BesseliFun})(##335#OT<:Real) 
> in module NumericFuns at 
> /home/nbecker/.julia/v0.5/NumericFuns/src/functors.jl:71 overwritten at 
> /home/nbecker/.julia/v0.5/NumericFuns/src/functors.jl:73. 
> WARNING: Method definition 
> (::Type{NumericFuns.BesseljFun})(##340#OT<:Real) 
> in module NumericFuns at 
> /home/nbecker/.julia/v0.5/NumericFuns/src/functors.jl:71 overwritten at 
> /home/nbecker/.julia/v0.5/NumericFuns/src/functors.jl:73. 
> WARNING: Method definition 
> (::Type{NumericFuns.BesselkFun})(##345#OT<:Real) 
> in module NumericFuns at 
> /home/nbecker/.julia/v0.5/NumericFuns/src/functors.jl:71 overwritten at 
> /home/nbecker/.julia/v0.5/NumericFuns/src/functors.jl:73. 
> WARNING: Method definition 
> (::Type{NumericFuns.BesselyFun})(##350#OT<:Real) 
> in module NumericFuns at 
> /home/nbecker/.julia/v0.5/NumericFuns/src/functors.jl:71 overwritten at 
> /home/nbecker/.julia/v0.5/NumericFuns/src/functors.jl:73. 
> WARNING: Method definition 
> (::Type{NumericFuns.Hankelh1Fun})(##355#OT<:Real) 
> in module NumericFuns at 
> /home/nbecker/.julia/v0.5/NumericFuns/src/functors.jl:71 overwritten at 
> /home/nbecker/.julia/v0.5/NumericFuns/src/functors.jl:73. 
> WARNING: Method definition 
> (::Type{NumericFuns.Hankelh2Fun})(##360#OT<:Real) 
> in module NumericFuns at 
> /home/nbecker/.julia/v0.5/NumericFuns/src/functors.jl:71 overwritten at 
> /home/nbecker/.julia/v0.5/NumericFuns/src/functors.jl:73. 
> WARNING: could not import Base.add! into NumericExtensions 
> ERROR: LoadError: LoadError: MethodError: no method matching 
> Union(::Type{DenseArray{T,1}}, ::Type{DenseArray{T,2}}) 
> Closest candidates are: 
>   Union{T}(::Any) at sysimg.jl:53 
>  in eval_user_input(::Any, ::Base.REPL.REPLBackend) at ./REPL.jl:64 
>  in macro expansion at ./REPL.jl:95 [inlined] 
>  in (::Base.REPL.##3#4{Base.REPL.REPLBackend})() at ./event.jl:68 
> while loading /home/nbecker/.julia/v0.5/NumericExtensions/src/common.jl, 
> in 
> expression starting on line 5 
> while loading 
> /home/nbecker/.julia/v0.5/NumericExtensions/src/NumericExtensions.jl, in 
> expression starting on line 116 
>
>
>

Reply via email to