JuliaApproximation / QuasiArrays.jl

A package for representing quasi-arrays
MIT License
12 stars 2 forks source link

More complicated BroadcastQuasiArrays seem to fail #14

Closed jagot closed 4 years ago

jagot commented 4 years ago

r.^2 and exp.(-r) work just fine, but their product bails, in two different ways, depending on whether ContinuumArrays is loaded or not.

Environment: tomls.zip

julia> using IntervalSets, QuasiArrays
[ Info: Recompiling stale cache file /Users/jagot/.julia/compiled/v1.2/QuasiArrays/X9utc.ji for QuasiArrays [c4ea9172-b204-11e9-377d-29865faadc5c]

julia> r = Inclusion(0.0..70.0)
Inclusion(0.0..70.0)

julia> r.^2
BroadcastQuasiArray{Float64,1,typeof(Base.literal_pow),Tuple{Base.RefValue{typeof(^)},Inclusion{Float64,Interval{:closed,:closed,Float64}},Base.RefValue{Val{2}}}}(Base.literal_pow, (Base.RefValue{typeof(^)}(^), Inclusion(0.0..70.0), Base.RefValue{Val{2}}(Val{2}())))

julia> exp.(-r)
BroadcastQuasiArray{Float64,1,typeof(exp),Tuple{BroadcastQuasiArray{Float64,1,typeof(-),Tuple{Inclusion{Float64,Interval{:closed,:closed,Float64}}}}}}(exp, (BroadcastQuasiArray{Float64,1,typeof(-),Tuple{Inclusion{Float64,Interval{:closed,:closed,Float64}}}}(-, (Inclusion(0.0..70.0),)),))

julia> r.^2 .* exp.(-r)
┌ Warning: `length(i::ClosedInterval)` is deprecated, use `IntervalSets.duration(i)` instead.
│   caller = cardinality(::Interval{:closed,:closed,Float64}) at QuasiArrays.jl:77
└ @ QuasiArrays ~/.julia/packages/QuasiArrays/7Hvfs/src/QuasiArrays.jl:77
ERROR: MethodError: no method matching duration(::Interval{:closed,:closed,Float64})
Closest candidates are:
  duration(::IntervalSets.TypedEndpointsInterval{:closed,:closed,T<:Integer}) where T<:Integer at /Users/jagot/.julia/packages/IntervalSets/4SvUi/src/IntervalSets.jl:203
  duration(::IntervalSets.TypedEndpointsInterval{:closed,:closed,Dates.Date}) at /Users/jagot/.julia/packages/IntervalSets/4SvUi/src/IntervalSets.jl:204
Stacktrace:
 [1] length(::Interval{:closed,:closed,Float64}) at ./deprecated.jl:67
 [2] cardinality(::Interval{:closed,:closed,Float64}) at /Users/jagot/.julia/packages/QuasiArrays/7Hvfs/src/QuasiArrays.jl:77
 [3] length(::Inclusion{Float64,Interval{:closed,:closed,Float64}}) at /Users/jagot/.julia/packages/QuasiArrays/7Hvfs/src/indices.jl:154
 [4] _array_for(::Type{Float64}, ::Inclusion{Float64,Interval{:closed,:closed,Float64}}, ::Base.HasLength) at ./array.jl:597
 [5] Array{Float64,N} where N(::Inclusion{Float64,Interval{:closed,:closed,Float64}}) at /Users/jagot/.julia/packages/QuasiArrays/7Hvfs/src/abstractquasiarray.jl:20
 [6] convert(::Type{AbstractArray{Float64,N} where N}, ::Inclusion{Float64,Interval{:closed,:closed,Float64}}) at /Users/jagot/.julia/packages/QuasiArrays/7Hvfs/src/abstractquasiarray.jl:32
 [7] convert(::Type{AbstractArray}, ::Inclusion{Float64,Interval{:closed,:closed,Float64}}) at /Users/jagot/.julia/packages/QuasiArrays/7Hvfs/src/abstractquasiarray.jl:33
 [8] convert(::Type{AbstractArray{T,1} where T}, ::Inclusion{Float64,Interval{:closed,:closed,Float64}}) at /Users/jagot/.julia/packages/QuasiArrays/7Hvfs/src/abstractquasiarray.jl:36
 [9] _broadcast_getindex_evalf at ./broadcast.jl:625 [inlined]
 [10] _broadcast_getindex at ./broadcast.jl:608 [inlined]
 [11] (::getfield(Base.Broadcast, Symbol("##19#20")){Base.Broadcast.Broadcasted{Base.Broadcast.Style{Tuple},Nothing,typeof(convert),Tuple{Base.RefValue{Type{AbstractArray{T,1} where T}},Tuple{Inclusion{Float64,Interval{:closed,:closed,Float64}}}}}})(::Int64) at ./broadcast.jl:1002
 [12] ntuple at ./ntuple.jl:41 [inlined]
 [13] copy at ./broadcast.jl:1002 [inlined]
 [14] materialize at ./broadcast.jl:798 [inlined]
 [15] similar(::Type{QuasiArray{Float64,N,AXES} where AXES<:Tuple{Vararg{AbstractArray{#s34,1} where #s34<:Number,N}} where N}, ::Tuple{Inclusion{Float64,Interval{:closed,:closed,Float64}}}) at /Users/jagot/.julia/packages/QuasiArrays/7Hvfs/src/abstractquasiarray.jl:298
 [16] similar(::Base.Broadcast.Broadcasted{QuasiArrays.DefaultQuasiArrayStyle{1},Tuple{Inclusion{Float64,Interval{:closed,:closed,Float64}}},typeof(-),Tuple{Inclusion{Float64,Interval{:closed,:closed,Float64}}}}, ::Type{Float64}) at /Users/jagot/.julia/packages/QuasiArrays/7Hvfs/src/quasibroadcast.jl:85
 [17] copy at ./broadcast.jl:818 [inlined]
 [18] materialize(::Base.Broadcast.Broadcasted{QuasiArrays.DefaultQuasiArrayStyle{1},Nothing,typeof(-),Tuple{Inclusion{Float64,Interval{:closed,:closed,Float64}}}}) at ./broadcast.jl:798
 [19] broadcast_preserving_zero_d(::Function, ::Inclusion{Float64,Interval{:closed,:closed,Float64}}) at /Users/jagot/.julia/packages/QuasiArrays/7Hvfs/src/QuasiArrays.jl:59
 [20] -(::Inclusion{Float64,Interval{:closed,:closed,Float64}}) at /Users/jagot/.julia/packages/QuasiArrays/7Hvfs/src/quasiarraymath.jl:8
 [21] top-level scope at REPL[4]:1
julia> using ContinuumArrays
[ Info: Recompiling stale cache file /Users/jagot/.julia/compiled/v1.2/ContinuumArrays/R9DIY.ji for ContinuumArrays [7ae1f121-cc2c-504b-ac30-9b923412ae5c]
WARNING: Method definition banded_lmul!(LinearAlgebra.QRPackedQ{T, S} where S<:AbstractArray{T, 2} where T, Union{AbstractArray{T, 1}, AbstractArray{T, 2}} where T) in module BandedMatrices at /Users/jagot/.julia/packages/BandedMatrices/c2JG0/src/banded/bandedqr.jl:50 overwritten at /Users/jagot/.julia/packages/BandedMatrices/c2JG0/src/banded/bandedqr.jl:50.
  ** incremental compilation may be fatally broken for this module **

WARNING: Method definition banded_lmul!(LinearAlgebra.Adjoint{#s183, #s182} where #s182<:(LinearAlgebra.QRPackedQ{T, S} where S<:AbstractArray{T, 2} where T) where #s183, Union{AbstractArray{T, 1}, AbstractArray{T, 2}} where T) in module BandedMatrices at /Users/jagot/.julia/packages/BandedMatrices/c2JG0/src/banded/bandedqr.jl:78 overwritten at /Users/jagot/.julia/packages/BandedMatrices/c2JG0/src/banded/bandedqr.jl:78.
  ** incremental compilation may be fatally broken for this module **

WARNING: Method definition banded_rmul!(AbstractArray{T, 2} where T, LinearAlgebra.QRPackedQ{T, S} where S<:AbstractArray{T, 2} where T) in module BandedMatrices at /Users/jagot/.julia/packages/BandedMatrices/c2JG0/src/banded/bandedqr.jl:108 overwritten at /Users/jagot/.julia/packages/BandedMatrices/c2JG0/src/banded/bandedqr.jl:108.
  ** incremental compilation may be fatally broken for this module **

WARNING: Method definition banded_rmul!(AbstractArray{T, 2} where T, LinearAlgebra.Adjoint{#s169, #s168} where #s168<:(LinearAlgebra.QRPackedQ{T, S} where S<:AbstractArray{T, 2} where T) where #s169) in module BandedMatrices at /Users/jagot/.julia/packages/BandedMatrices/c2JG0/src/banded/bandedqr.jl:134 overwritten at /Users/jagot/.julia/packages/BandedMatrices/c2JG0/src/banded/bandedqr.jl:134.
  ** incremental compilation may be fatally broken for this module **

WARNING: Method definition lmul!(LinearAlgebra.QRPackedQ{#s161, #s160} where #s160<:(BandedMatrices.AbstractBandedMatrix{T} where T) where #s161, Union{AbstractArray{T, 1}, AbstractArray{T, 2}} where T) in module BandedMatrices at /Users/jagot/.julia/packages/BandedMatrices/c2JG0/src/banded/bandedqr.jl:160 overwritten at /Users/jagot/.julia/packages/BandedMatrices/c2JG0/src/banded/bandedqr.jl:160.
  ** incremental compilation may be fatally broken for this module **

WARNING: Method definition lmul!(LinearAlgebra.Adjoint{#s159, #s158} where #s158<:(LinearAlgebra.QRPackedQ{#s157, #s156} where #s156<:(BandedMatrices.AbstractBandedMatrix{T} where T) where #s157) where #s159, Union{AbstractArray{T, 1}, AbstractArray{T, 2}} where T) in module BandedMatrices at /Users/jagot/.julia/packages/BandedMatrices/c2JG0/src/banded/bandedqr.jl:161 overwritten at /Users/jagot/.julia/packages/BandedMatrices/c2JG0/src/banded/bandedqr.jl:161.
  ** incremental compilation may be fatally broken for this module **

WARNING: Method definition lmul!(LinearAlgebra.QRPackedQ{#s155, Base.SubArray{T, 2, BandedMatrices.BandedMatrix{T, C, R}, Tuple{I1<:(Base.AbstractUnitRange{T} where T), I2<:(Base.AbstractUnitRange{T} where T)}, t} where t} where #s155, Union{AbstractArray{T, 1}, AbstractArray{T, 2}} where T) where {T, C, R, I1<:(Base.AbstractUnitRange{T} where T), I2<:(Base.AbstractUnitRange{T} where T)} in module BandedMatrices at /Users/jagot/.julia/packages/BandedMatrices/c2JG0/src/banded/bandedqr.jl:162 overwritten at /Users/jagot/.julia/packages/BandedMatrices/c2JG0/src/banded/bandedqr.jl:162.
  ** incremental compilation may be fatally broken for this module **

WARNING: Method definition lmul!(LinearAlgebra.Adjoint{T, #s154} where #s154<:(LinearAlgebra.QRPackedQ{T, #s153} where #s153<:Base.SubArray{T, 2, BandedMatrices.BandedMatrix{T, C, R}, Tuple{I1<:(Base.AbstractUnitRange{T} where T), I2<:(Base.AbstractUnitRange{T} where T)}, t}), Union{AbstractArray{T, 1}, AbstractArray{T, 2}} where T) where {T, C, R, I1<:(Base.AbstractUnitRange{T} where T), I2<:(Base.AbstractUnitRange{T} where T), t} in module BandedMatrices at /Users/jagot/.julia/packages/BandedMatrices/c2JG0/src/banded/bandedqr.jl:164 overwritten at /Users/jagot/.julia/packages/BandedMatrices/c2JG0/src/banded/bandedqr.jl:164.
  ** incremental compilation may be fatally broken for this module **

WARNING: Method definition rmul!(Union{DenseArray{T<:Union{Base.Complex{Float32}, Base.Complex{Float64}, Float32, Float64}, 1}, DenseArray{T<:Union{Base.Complex{Float32}, Base.Complex{Float64}, Float32, Float64}, 2}, Base.ReinterpretArray{T<:Union{Base.Complex{Float32}, Base.Complex{Float64}, Float32, Float64}, 2, S, A} where S where A<:Union{Base.SubArray{T, N, A, I, true} where I<:Union{Tuple{Vararg{Real, N} where N}, Tuple{Base.AbstractUnitRange{T} where T, Vararg{Any, N} where N}} where A<:(DenseArray{T, N} where N where T) where N where T, DenseArray{T, N} where N where T}, Base.ReinterpretArray{T<:Union{Base.Complex{Float32}, Base.Complex{Float64}, Float32, Float64}, 1, S, A} where S where A<:Union{Base.SubArray{T, N, A, I, true} where I<:Union{Tuple{Vararg{Real, N} where N}, Tuple{Base.AbstractUnitRange{T} where T, Vararg{Any, N} where N}} where A<:(DenseArray{T, N} where N where T) where N where T, DenseArray{T, N} where N where T}, Base.ReshapedArray{T<:Union{Base.Complex{Float32}, Base.Complex{Float64}, Float32, Float64}, 1, A, MI} where MI<:Tuple{Vararg{Base.MultiplicativeInverses.SignedMultiplicativeInverse{Int64}, N} where N} where A<:Union{Base.ReinterpretArray{T, N, S, A} where S where A<:Union{Base.SubArray{T, N, A, I, true} where I<:Union{Tuple{Vararg{Real, N} where N}, Tuple{Base.AbstractUnitRange{T} where T, Vararg{Any, N} where N}} where A<:(DenseArray{T, N} where N where T) where N where T, DenseArray{T, N} where N where T} where N where T, Base.SubArray{T, N, A, I, true} where I<:Union{Tuple{Vararg{Real, N} where N}, Tuple{Base.AbstractUnitRange{T} where T, Vararg{Any, N} where N}} where A<:(DenseArray{T, N} where N where T) where N where T, DenseArray{T, N} where N where T}, Base.ReshapedArray{T<:Union{Base.Complex{Float32}, Base.Complex{Float64}, Float32, Float64}, 2, A, MI} where MI<:Tuple{Vararg{Base.MultiplicativeInverses.SignedMultiplicativeInverse{Int64}, N} where N} where A<:Union{Base.ReinterpretArray{T, N, S, A} where S where A<:Union{Base.SubArray{T, N, A, I, true} where I<:Union{Tuple{Vararg{Real, N} where N}, Tuple{Base.AbstractUnitRange{T} where T, Vararg{Any, N} where N}} where A<:(DenseArray{T, N} where N where T) where N where T, DenseArray{T, N} where N where T} where N where T, Base.SubArray{T, N, A, I, true} where I<:Union{Tuple{Vararg{Real, N} where N}, Tuple{Base.AbstractUnitRange{T} where T, Vararg{Any, N} where N}} where A<:(DenseArray{T, N} where N where T) where N where T, DenseArray{T, N} where N where T}, Base.SubArray{T<:Union{Base.Complex{Float32}, Base.Complex{Float64}, Float32, Float64}, 1, A, I, L} where L where I<:Tuple{Vararg{Union{Int64, Base.AbstractRange{Int64}, Base.AbstractCartesianIndex{N} where N}, N} where N} where A<:Union{Base.ReinterpretArray{T, N, S, A} where S where A<:Union{Base.SubArray{T, N, A, I, true} where I<:Union{Tuple{Vararg{Real, N} where N}, Tuple{Base.AbstractUnitRange{T} where T, Vararg{Any, N} where N}} where A<:(DenseArray{T, N} where N where T) where N where T, DenseArray{T, N} where N where T} where N where T, Base.ReshapedArray{T, N, A, MI} where MI<:Tuple{Vararg{Base.MultiplicativeInverses.SignedMultiplicativeInverse{Int64}, N} where N} where A<:Union{Base.ReinterpretArray{T, N, S, A} where S where A<:Union{Base.SubArray{T, N, A, I, true} where I<:Union{Tuple{Vararg{Real, N} where N}, Tuple{Base.AbstractUnitRange{T} where T, Vararg{Any, N} where N}} where A<:(DenseArray{T, N} where N where T) where N where T, DenseArray{T, N} where N where T} where N where T, Base.SubArray{T, N, A, I, true} where I<:Union{Tuple{Vararg{Real, N} where N}, Tuple{Base.AbstractUnitRange{T} where T, Vararg{Any, N} where N}} where A<:(DenseArray{T, N} where N where T) where N where T, DenseArray{T, N} where N where T} where N where T, DenseArray{T, N} where N where T}, Base.SubArray{T<:Union{Base.Complex{Float32}, Base.Complex{Float64}, Float32, Float64}, 2, A, I, L} where L where I<:Tuple{Vararg{Union{Int64, Base.AbstractRange{Int64}, Base.AbstractCartesianIndex{N} where N}, N} where N} where A<:Union{Base.ReinterpretArray{T, N, S, A} where S where A<:Union{Base.SubArray{T, N, A, I, true} where I<:Union{Tuple{Vararg{Real, N} where N}, Tuple{Base.AbstractUnitRange{T} where T, Vararg{Any, N} where N}} where A<:(DenseArray{T, N} where N where T) where N where T, DenseArray{T, N} where N where T} where N where T, Base.ReshapedArray{T, N, A, MI} where MI<:Tuple{Vararg{Base.MultiplicativeInverses.SignedMultiplicativeInverse{Int64}, N} where N} where A<:Union{Base.ReinterpretArray{T, N, S, A} where S where A<:Union{Base.SubArray{T, N, A, I, true} where I<:Union{Tuple{Vararg{Real, N} where N}, Tuple{Base.AbstractUnitRange{T} where T, Vararg{Any, N} where N}} where A<:(DenseArray{T, N} where N where T) where N where T, DenseArray{T, N} where N where T} where N where T, Base.SubArray{T, N, A, I, true} where I<:Union{Tuple{Vararg{Real, N} where N}, Tuple{Base.AbstractUnitRange{T} where T, Vararg{Any, N} where N}} where A<:(DenseArray{T, N} where N where T) where N where T, DenseArray{T, N} where N where T} where N where T, DenseArray{T, N} where N where T}}, LinearAlgebra.QRPackedQ{T<:Union{Base.Complex{Float32}, Base.Complex{Float64}, Float32, Float64}, B<:BandedMatrices.AbstractBandedMatrix{T<:Union{Base.Complex{Float32}, Base.Complex{Float64}, Float32, Float64}}}) where {T<:Union{Base.Complex{Float32}, Base.Complex{Float64}, Float32, Float64}, B<:BandedMatrices.AbstractBandedMatrix{T<:Union{Base.Complex{Float32}, Base.Complex{Float64}, Float32, Float64}}} in module BandedMatrices at /Users/jagot/.julia/packages/BandedMatrices/c2JG0/src/banded/bandedqr.jl:168 overwritten at /Users/jagot/.julia/packages/BandedMatrices/c2JG0/src/banded/bandedqr.jl:168.
  ** incremental compilation may be fatally broken for this module **

WARNING: Method definition rmul!(Union{DenseArray{T<:Union{Base.Complex{Float32}, Base.Complex{Float64}}, 1}, DenseArray{T<:Union{Base.Complex{Float32}, Base.Complex{Float64}}, 2}, Base.ReinterpretArray{T<:Union{Base.Complex{Float32}, Base.Complex{Float64}}, 2, S, A} where S where A<:Union{Base.SubArray{T, N, A, I, true} where I<:Union{Tuple{Vararg{Real, N} where N}, Tuple{Base.AbstractUnitRange{T} where T, Vararg{Any, N} where N}} where A<:(DenseArray{T, N} where N where T) where N where T, DenseArray{T, N} where N where T}, Base.ReinterpretArray{T<:Union{Base.Complex{Float32}, Base.Complex{Float64}}, 1, S, A} where S where A<:Union{Base.SubArray{T, N, A, I, true} where I<:Union{Tuple{Vararg{Real, N} where N}, Tuple{Base.AbstractUnitRange{T} where T, Vararg{Any, N} where N}} where A<:(DenseArray{T, N} where N where T) where N where T, DenseArray{T, N} where N where T}, Base.ReshapedArray{T<:Union{Base.Complex{Float32}, Base.Complex{Float64}}, 1, A, MI} where MI<:Tuple{Vararg{Base.MultiplicativeInverses.SignedMultiplicativeInverse{Int64}, N} where N} where A<:Union{Base.ReinterpretArray{T, N, S, A} where S where A<:Union{Base.SubArray{T, N, A, I, true} where I<:Union{Tuple{Vararg{Real, N} where N}, Tuple{Base.AbstractUnitRange{T} where T, Vararg{Any, N} where N}} where A<:(DenseArray{T, N} where N where T) where N where T, DenseArray{T, N} where N where T} where N where T, Base.SubArray{T, N, A, I, true} where I<:Union{Tuple{Vararg{Real, N} where N}, Tuple{Base.AbstractUnitRange{T} where T, Vararg{Any, N} where N}} where A<:(DenseArray{T, N} where N where T) where N where T, DenseArray{T, N} where N where T}, Base.ReshapedArray{T<:Union{Base.Complex{Float32}, Base.Complex{Float64}}, 2, A, MI} where MI<:Tuple{Vararg{Base.MultiplicativeInverses.SignedMultiplicativeInverse{Int64}, N} where N} where A<:Union{Base.ReinterpretArray{T, N, S, A} where S where A<:Union{Base.SubArray{T, N, A, I, true} where I<:Union{Tuple{Vararg{Real, N} where N}, Tuple{Base.AbstractUnitRange{T} where T, Vararg{Any, N} where N}} where A<:(DenseArray{T, N} where N where T) where N where T, DenseArray{T, N} where N where T} where N where T, Base.SubArray{T, N, A, I, true} where I<:Union{Tuple{Vararg{Real, N} where N}, Tuple{Base.AbstractUnitRange{T} where T, Vararg{Any, N} where N}} where A<:(DenseArray{T, N} where N where T) where N where T, DenseArray{T, N} where N where T}, Base.SubArray{T<:Union{Base.Complex{Float32}, Base.Complex{Float64}}, 1, A, I, L} where L where I<:Tuple{Vararg{Union{Int64, Base.AbstractRange{Int64}, Base.AbstractCartesianIndex{N} where N}, N} where N} where A<:Union{Base.ReinterpretArray{T, N, S, A} where S where A<:Union{Base.SubArray{T, N, A, I, true} where I<:Union{Tuple{Vararg{Real, N} where N}, Tuple{Base.AbstractUnitRange{T} where T, Vararg{Any, N} where N}} where A<:(DenseArray{T, N} where N where T) where N where T, DenseArray{T, N} where N where T} where N where T, Base.ReshapedArray{T, N, A, MI} where MI<:Tuple{Vararg{Base.MultiplicativeInverses.SignedMultiplicativeInverse{Int64}, N} where N} where A<:Union{Base.ReinterpretArray{T, N, S, A} where S where A<:Union{Base.SubArray{T, N, A, I, true} where I<:Union{Tuple{Vararg{Real, N} where N}, Tuple{Base.AbstractUnitRange{T} where T, Vararg{Any, N} where N}} where A<:(DenseArray{T, N} where N where T) where N where T, DenseArray{T, N} where N where T} where N where T, Base.SubArray{T, N, A, I, true} where I<:Union{Tuple{Vararg{Real, N} where N}, Tuple{Base.AbstractUnitRange{T} where T, Vararg{Any, N} where N}} where A<:(DenseArray{T, N} where N where T) where N where T, DenseArray{T, N} where N where T} where N where T, DenseArray{T, N} where N where T}, Base.SubArray{T<:Union{Base.Complex{Float32}, Base.Complex{Float64}}, 2, A, I, L} where L where I<:Tuple{Vararg{Union{Int64, Base.AbstractRange{Int64}, Base.AbstractCartesianIndex{N} where N}, N} where N} where A<:Union{Base.ReinterpretArray{T, N, S, A} where S where A<:Union{Base.SubArray{T, N, A, I, true} where I<:Union{Tuple{Vararg{Real, N} where N}, Tuple{Base.AbstractUnitRange{T} where T, Vararg{Any, N} where N}} where A<:(DenseArray{T, N} where N where T) where N where T, DenseArray{T, N} where N where T} where N where T, Base.ReshapedArray{T, N, A, MI} where MI<:Tuple{Vararg{Base.MultiplicativeInverses.SignedMultiplicativeInverse{Int64}, N} where N} where A<:Union{Base.ReinterpretArray{T, N, S, A} where S where A<:Union{Base.SubArray{T, N, A, I, true} where I<:Union{Tuple{Vararg{Real, N} where N}, Tuple{Base.AbstractUnitRange{T} where T, Vararg{Any, N} where N}} where A<:(DenseArray{T, N} where N where T) where N where T, DenseArray{T, N} where N where T} where N where T, Base.SubArray{T, N, A, I, true} where I<:Union{Tuple{Vararg{Real, N} where N}, Tuple{Base.AbstractUnitRange{T} where T, Vararg{Any, N} where N}} where A<:(DenseArray{T, N} where N where T) where N where T, DenseArray{T, N} where N where T} where N where T, DenseArray{T, N} where N where T}}, LinearAlgebra.Adjoint{#s152, LinearAlgebra.QRPackedQ{T<:Union{Base.Complex{Float32}, Base.Complex{Float64}}, B<:BandedMatrices.AbstractBandedMatrix{T<:Union{Base.Complex{Float32}, Base.Complex{Float64}}}}} where #s152) where {T<:Union{Base.Complex{Float32}, Base.Complex{Float64}}, B<:BandedMatrices.AbstractBandedMatrix{T<:Union{Base.Complex{Float32}, Base.Complex{Float64}}}} in module BandedMatrices at /Users/jagot/.julia/packages/BandedMatrices/c2JG0/src/banded/bandedqr.jl:169 overwritten at /Users/jagot/.julia/packages/BandedMatrices/c2JG0/src/banded/bandedqr.jl:169.
  ** incremental compilation may be fatally broken for this module **

WARNING: Method definition rmul!(Union{DenseArray{T<:Union{Float32, Float64}, 1}, DenseArray{T<:Union{Float32, Float64}, 2}, Base.ReinterpretArray{T<:Union{Float32, Float64}, 2, S, A} where S where A<:Union{Base.SubArray{T, N, A, I, true} where I<:Union{Tuple{Vararg{Real, N} where N}, Tuple{Base.AbstractUnitRange{T} where T, Vararg{Any, N} where N}} where A<:(DenseArray{T, N} where N where T) where N where T, DenseArray{T, N} where N where T}, Base.ReinterpretArray{T<:Union{Float32, Float64}, 1, S, A} where S where A<:Union{Base.SubArray{T, N, A, I, true} where I<:Union{Tuple{Vararg{Real, N} where N}, Tuple{Base.AbstractUnitRange{T} where T, Vararg{Any, N} where N}} where A<:(DenseArray{T, N} where N where T) where N where T, DenseArray{T, N} where N where T}, Base.ReshapedArray{T<:Union{Float32, Float64}, 1, A, MI} where MI<:Tuple{Vararg{Base.MultiplicativeInverses.SignedMultiplicativeInverse{Int64}, N} where N} where A<:Union{Base.ReinterpretArray{T, N, S, A} where S where A<:Union{Base.SubArray{T, N, A, I, true} where I<:Union{Tuple{Vararg{Real, N} where N}, Tuple{Base.AbstractUnitRange{T} where T, Vararg{Any, N} where N}} where A<:(DenseArray{T, N} where N where T) where N where T, DenseArray{T, N} where N where T} where N where T, Base.SubArray{T, N, A, I, true} where I<:Union{Tuple{Vararg{Real, N} where N}, Tuple{Base.AbstractUnitRange{T} where T, Vararg{Any, N} where N}} where A<:(DenseArray{T, N} where N where T) where N where T, DenseArray{T, N} where N where T}, Base.ReshapedArray{T<:Union{Float32, Float64}, 2, A, MI} where MI<:Tuple{Vararg{Base.MultiplicativeInverses.SignedMultiplicativeInverse{Int64}, N} where N} where A<:Union{Base.ReinterpretArray{T, N, S, A} where S where A<:Union{Base.SubArray{T, N, A, I, true} where I<:Union{Tuple{Vararg{Real, N} where N}, Tuple{Base.AbstractUnitRange{T} where T, Vararg{Any, N} where N}} where A<:(DenseArray{T, N} where N where T) where N where T, DenseArray{T, N} where N where T} where N where T, Base.SubArray{T, N, A, I, true} where I<:Union{Tuple{Vararg{Real, N} where N}, Tuple{Base.AbstractUnitRange{T} where T, Vararg{Any, N} where N}} where A<:(DenseArray{T, N} where N where T) where N where T, DenseArray{T, N} where N where T}, Base.SubArray{T<:Union{Float32, Float64}, 1, A, I, L} where L where I<:Tuple{Vararg{Union{Int64, Base.AbstractRange{Int64}, Base.AbstractCartesianIndex{N} where N}, N} where N} where A<:Union{Base.ReinterpretArray{T, N, S, A} where S where A<:Union{Base.SubArray{T, N, A, I, true} where I<:Union{Tuple{Vararg{Real, N} where N}, Tuple{Base.AbstractUnitRange{T} where T, Vararg{Any, N} where N}} where A<:(DenseArray{T, N} where N where T) where N where T, DenseArray{T, N} where N where T} where N where T, Base.ReshapedArray{T, N, A, MI} where MI<:Tuple{Vararg{Base.MultiplicativeInverses.SignedMultiplicativeInverse{Int64}, N} where N} where A<:Union{Base.ReinterpretArray{T, N, S, A} where S where A<:Union{Base.SubArray{T, N, A, I, true} where I<:Union{Tuple{Vararg{Real, N} where N}, Tuple{Base.AbstractUnitRange{T} where T, Vararg{Any, N} where N}} where A<:(DenseArray{T, N} where N where T) where N where T, DenseArray{T, N} where N where T} where N where T, Base.SubArray{T, N, A, I, true} where I<:Union{Tuple{Vararg{Real, N} where N}, Tuple{Base.AbstractUnitRange{T} where T, Vararg{Any, N} where N}} where A<:(DenseArray{T, N} where N where T) where N where T, DenseArray{T, N} where N where T} where N where T, DenseArray{T, N} where N where T}, Base.SubArray{T<:Union{Float32, Float64}, 2, A, I, L} where L where I<:Tuple{Vararg{Union{Int64, Base.AbstractRange{Int64}, Base.AbstractCartesianIndex{N} where N}, N} where N} where A<:Union{Base.ReinterpretArray{T, N, S, A} where S where A<:Union{Base.SubArray{T, N, A, I, true} where I<:Union{Tuple{Vararg{Real, N} where N}, Tuple{Base.AbstractUnitRange{T} where T, Vararg{Any, N} where N}} where A<:(DenseArray{T, N} where N where T) where N where T, DenseArray{T, N} where N where T} where N where T, Base.ReshapedArray{T, N, A, MI} where MI<:Tuple{Vararg{Base.MultiplicativeInverses.SignedMultiplicativeInverse{Int64}, N} where N} where A<:Union{Base.ReinterpretArray{T, N, S, A} where S where A<:Union{Base.SubArray{T, N, A, I, true} where I<:Union{Tuple{Vararg{Real, N} where N}, Tuple{Base.AbstractUnitRange{T} where T, Vararg{Any, N} where N}} where A<:(DenseArray{T, N} where N where T) where N where T, DenseArray{T, N} where N where T} where N where T, Base.SubArray{T, N, A, I, true} where I<:Union{Tuple{Vararg{Real, N} where N}, Tuple{Base.AbstractUnitRange{T} where T, Vararg{Any, N} where N}} where A<:(DenseArray{T, N} where N where T) where N where T, DenseArray{T, N} where N where T} where N where T, DenseArray{T, N} where N where T}}, LinearAlgebra.Adjoint{#s151, LinearAlgebra.QRPackedQ{T<:Union{Float32, Float64}, B<:BandedMatrices.AbstractBandedMatrix{T<:Union{Float32, Float64}}}} where #s151) where {T<:Union{Float32, Float64}, B<:BandedMatrices.AbstractBandedMatrix{T<:Union{Float32, Float64}}} in module BandedMatrices at /Users/jagot/.julia/packages/BandedMatrices/c2JG0/src/banded/bandedqr.jl:170 overwritten at /Users/jagot/.julia/packages/BandedMatrices/c2JG0/src/banded/bandedqr.jl:170.
  ** incremental compilation may be fatally broken for this module **

WARNING: Method definition rmul!(Union{DenseArray{T<:Union{Base.Complex{Float32}, Base.Complex{Float64}, Float32, Float64}, 1}, DenseArray{T<:Union{Base.Complex{Float32}, Base.Complex{Float64}, Float32, Float64}, 2}, Base.ReinterpretArray{T<:Union{Base.Complex{Float32}, Base.Complex{Float64}, Float32, Float64}, 2, S, A} where S where A<:Union{Base.SubArray{T, N, A, I, true} where I<:Union{Tuple{Vararg{Real, N} where N}, Tuple{Base.AbstractUnitRange{T} where T, Vararg{Any, N} where N}} where A<:(DenseArray{T, N} where N where T) where N where T, DenseArray{T, N} where N where T}, Base.ReinterpretArray{T<:Union{Base.Complex{Float32}, Base.Complex{Float64}, Float32, Float64}, 1, S, A} where S where A<:Union{Base.SubArray{T, N, A, I, true} where I<:Union{Tuple{Vararg{Real, N} where N}, Tuple{Base.AbstractUnitRange{T} where T, Vararg{Any, N} where N}} where A<:(DenseArray{T, N} where N where T) where N where T, DenseArray{T, N} where N where T}, Base.ReshapedArray{T<:Union{Base.Complex{Float32}, Base.Complex{Float64}, Float32, Float64}, 1, A, MI} where MI<:Tuple{Vararg{Base.MultiplicativeInverses.SignedMultiplicativeInverse{Int64}, N} where N} where A<:Union{Base.ReinterpretArray{T, N, S, A} where S where A<:Union{Base.SubArray{T, N, A, I, true} where I<:Union{Tuple{Vararg{Real, N} where N}, Tuple{Base.AbstractUnitRange{T} where T, Vararg{Any, N} where N}} where A<:(DenseArray{T, N} where N where T) where N where T, DenseArray{T, N} where N where T} where N where T, Base.SubArray{T, N, A, I, true} where I<:Union{Tuple{Vararg{Real, N} where N}, Tuple{Base.AbstractUnitRange{T} where T, Vararg{Any, N} where N}} where A<:(DenseArray{T, N} where N where T) where N where T, DenseArray{T, N} where N where T}, Base.ReshapedArray{T<:Union{Base.Complex{Float32}, Base.Complex{Float64}, Float32, Float64}, 2, A, MI} where MI<:Tuple{Vararg{Base.MultiplicativeInverses.SignedMultiplicativeInverse{Int64}, N} where N} where A<:Union{Base.ReinterpretArray{T, N, S, A} where S where A<:Union{Base.SubArray{T, N, A, I, true} where I<:Union{Tuple{Vararg{Real, N} where N}, Tuple{Base.AbstractUnitRange{T} where T, Vararg{Any, N} where N}} where A<:(DenseArray{T, N} where N where T) where N where T, DenseArray{T, N} where N where T} where N where T, Base.SubArray{T, N, A, I, true} where I<:Union{Tuple{Vararg{Real, N} where N}, Tuple{Base.AbstractUnitRange{T} where T, Vararg{Any, N} where N}} where A<:(DenseArray{T, N} where N where T) where N where T, DenseArray{T, N} where N where T}, Base.SubArray{T<:Union{Base.Complex{Float32}, Base.Complex{Float64}, Float32, Float64}, 1, A, I, L} where L where I<:Tuple{Vararg{Union{Int64, Base.AbstractRange{Int64}, Base.AbstractCartesianIndex{N} where N}, N} where N} where A<:Union{Base.ReinterpretArray{T, N, S, A} where S where A<:Union{Base.SubArray{T, N, A, I, true} where I<:Union{Tuple{Vararg{Real, N} where N}, Tuple{Base.AbstractUnitRange{T} where T, Vararg{Any, N} where N}} where A<:(DenseArray{T, N} where N where T) where N where T, DenseArray{T, N} where N where T} where N where T, Base.ReshapedArray{T, N, A, MI} where MI<:Tuple{Vararg{Base.MultiplicativeInverses.SignedMultiplicativeInverse{Int64}, N} where N} where A<:Union{Base.ReinterpretArray{T, N, S, A} where S where A<:Union{Base.SubArray{T, N, A, I, true} where I<:Union{Tuple{Vararg{Real, N} where N}, Tuple{Base.AbstractUnitRange{T} where T, Vararg{Any, N} where N}} where A<:(DenseArray{T, N} where N where T) where N where T, DenseArray{T, N} where N where T} where N where T, Base.SubArray{T, N, A, I, true} where I<:Union{Tuple{Vararg{Real, N} where N}, Tuple{Base.AbstractUnitRange{T} where T, Vararg{Any, N} where N}} where A<:(DenseArray{T, N} where N where T) where N where T, DenseArray{T, N} where N where T} where N where T, DenseArray{T, N} where N where T}, Base.SubArray{T<:Union{Base.Complex{Float32}, Base.Complex{Float64}, Float32, Float64}, 2, A, I, L} where L where I<:Tuple{Vararg{Union{Int64, Base.AbstractRange{Int64}, Base.AbstractCartesianIndex{N} where N}, N} where N} where A<:Union{Base.ReinterpretArray{T, N, S, A} where S where A<:Union{Base.SubArray{T, N, A, I, true} where I<:Union{Tuple{Vararg{Real, N} where N}, Tuple{Base.AbstractUnitRange{T} where T, Vararg{Any, N} where N}} where A<:(DenseArray{T, N} where N where T) where N where T, DenseArray{T, N} where N where T} where N where T, Base.ReshapedArray{T, N, A, MI} where MI<:Tuple{Vararg{Base.MultiplicativeInverses.SignedMultiplicativeInverse{Int64}, N} where N} where A<:Union{Base.ReinterpretArray{T, N, S, A} where S where A<:Union{Base.SubArray{T, N, A, I, true} where I<:Union{Tuple{Vararg{Real, N} where N}, Tuple{Base.AbstractUnitRange{T} where T, Vararg{Any, N} where N}} where A<:(DenseArray{T, N} where N where T) where N where T, DenseArray{T, N} where N where T} where N where T, Base.SubArray{T, N, A, I, true} where I<:Union{Tuple{Vararg{Real, N} where N}, Tuple{Base.AbstractUnitRange{T} where T, Vararg{Any, N} where N}} where A<:(DenseArray{T, N} where N where T) where N where T, DenseArray{T, N} where N where T} where N where T, DenseArray{T, N} where N where T}}, LinearAlgebra.QRPackedQ{T<:Union{Base.Complex{Float32}, Base.Complex{Float64}, Float32, Float64}, B<:BandedMatrices.AbstractBandedMatrix{T<:Union{Base.Complex{Float32}, Base.Complex{Float64}, Float32, Float64}}}) where {T<:Union{Base.Complex{Float32}, Base.Complex{Float64}, Float32, Float64}, B<:BandedMatrices.AbstractBandedMatrix{T<:Union{Base.Complex{Float32}, Base.Complex{Float64}, Float32, Float64}}} in module BandedMatrices at /Users/jagot/.julia/packages/BandedMatrices/c2JG0/src/banded/bandedqr.jl:168 overwritten at /Users/jagot/.julia/packages/BandedMatrices/c2JG0/src/banded/bandedqr.jl:168.
  ** incremental compilation may be fatally broken for this module **

WARNING: Method definition rmul!(Union{DenseArray{T<:Union{Float32, Float64}, 1}, DenseArray{T<:Union{Float32, Float64}, 2}, Base.ReinterpretArray{T<:Union{Float32, Float64}, 2, S, A} where S where A<:Union{Base.SubArray{T, N, A, I, true} where I<:Union{Tuple{Vararg{Real, N} where N}, Tuple{Base.AbstractUnitRange{T} where T, Vararg{Any, N} where N}} where A<:(DenseArray{T, N} where N where T) where N where T, DenseArray{T, N} where N where T}, Base.ReinterpretArray{T<:Union{Float32, Float64}, 1, S, A} where S where A<:Union{Base.SubArray{T, N, A, I, true} where I<:Union{Tuple{Vararg{Real, N} where N}, Tuple{Base.AbstractUnitRange{T} where T, Vararg{Any, N} where N}} where A<:(DenseArray{T, N} where N where T) where N where T, DenseArray{T, N} where N where T}, Base.ReshapedArray{T<:Union{Float32, Float64}, 1, A, MI} where MI<:Tuple{Vararg{Base.MultiplicativeInverses.SignedMultiplicativeInverse{Int64}, N} where N} where A<:Union{Base.ReinterpretArray{T, N, S, A} where S where A<:Union{Base.SubArray{T, N, A, I, true} where I<:Union{Tuple{Vararg{Real, N} where N}, Tuple{Base.AbstractUnitRange{T} where T, Vararg{Any, N} where N}} where A<:(DenseArray{T, N} where N where T) where N where T, DenseArray{T, N} where N where T} where N where T, Base.SubArray{T, N, A, I, true} where I<:Union{Tuple{Vararg{Real, N} where N}, Tuple{Base.AbstractUnitRange{T} where T, Vararg{Any, N} where N}} where A<:(DenseArray{T, N} where N where T) where N where T, DenseArray{T, N} where N where T}, Base.ReshapedArray{T<:Union{Float32, Float64}, 2, A, MI} where MI<:Tuple{Vararg{Base.MultiplicativeInverses.SignedMultiplicativeInverse{Int64}, N} where N} where A<:Union{Base.ReinterpretArray{T, N, S, A} where S where A<:Union{Base.SubArray{T, N, A, I, true} where I<:Union{Tuple{Vararg{Real, N} where N}, Tuple{Base.AbstractUnitRange{T} where T, Vararg{Any, N} where N}} where A<:(DenseArray{T, N} where N where T) where N where T, DenseArray{T, N} where N where T} where N where T, Base.SubArray{T, N, A, I, true} where I<:Union{Tuple{Vararg{Real, N} where N}, Tuple{Base.AbstractUnitRange{T} where T, Vararg{Any, N} where N}} where A<:(DenseArray{T, N} where N where T) where N where T, DenseArray{T, N} where N where T}, Base.SubArray{T<:Union{Float32, Float64}, 1, A, I, L} where L where I<:Tuple{Vararg{Union{Int64, Base.AbstractRange{Int64}, Base.AbstractCartesianIndex{N} where N}, N} where N} where A<:Union{Base.ReinterpretArray{T, N, S, A} where S where A<:Union{Base.SubArray{T, N, A, I, true} where I<:Union{Tuple{Vararg{Real, N} where N}, Tuple{Base.AbstractUnitRange{T} where T, Vararg{Any, N} where N}} where A<:(DenseArray{T, N} where N where T) where N where T, DenseArray{T, N} where N where T} where N where T, Base.ReshapedArray{T, N, A, MI} where MI<:Tuple{Vararg{Base.MultiplicativeInverses.SignedMultiplicativeInverse{Int64}, N} where N} where A<:Union{Base.ReinterpretArray{T, N, S, A} where S where A<:Union{Base.SubArray{T, N, A, I, true} where I<:Union{Tuple{Vararg{Real, N} where N}, Tuple{Base.AbstractUnitRange{T} where T, Vararg{Any, N} where N}} where A<:(DenseArray{T, N} where N where T) where N where T, DenseArray{T, N} where N where T} where N where T, Base.SubArray{T, N, A, I, true} where I<:Union{Tuple{Vararg{Real, N} where N}, Tuple{Base.AbstractUnitRange{T} where T, Vararg{Any, N} where N}} where A<:(DenseArray{T, N} where N where T) where N where T, DenseArray{T, N} where N where T} where N where T, DenseArray{T, N} where N where T}, Base.SubArray{T<:Union{Float32, Float64}, 2, A, I, L} where L where I<:Tuple{Vararg{Union{Int64, Base.AbstractRange{Int64}, Base.AbstractCartesianIndex{N} where N}, N} where N} where A<:Union{Base.ReinterpretArray{T, N, S, A} where S where A<:Union{Base.SubArray{T, N, A, I, true} where I<:Union{Tuple{Vararg{Real, N} where N}, Tuple{Base.AbstractUnitRange{T} where T, Vararg{Any, N} where N}} where A<:(DenseArray{T, N} where N where T) where N where T, DenseArray{T, N} where N where T} where N where T, Base.ReshapedArray{T, N, A, MI} where MI<:Tuple{Vararg{Base.MultiplicativeInverses.SignedMultiplicativeInverse{Int64}, N} where N} where A<:Union{Base.ReinterpretArray{T, N, S, A} where S where A<:Union{Base.SubArray{T, N, A, I, true} where I<:Union{Tuple{Vararg{Real, N} where N}, Tuple{Base.AbstractUnitRange{T} where T, Vararg{Any, N} where N}} where A<:(DenseArray{T, N} where N where T) where N where T, DenseArray{T, N} where N where T} where N where T, Base.SubArray{T, N, A, I, true} where I<:Union{Tuple{Vararg{Real, N} where N}, Tuple{Base.AbstractUnitRange{T} where T, Vararg{Any, N} where N}} where A<:(DenseArray{T, N} where N where T) where N where T, DenseArray{T, N} where N where T} where N where T, DenseArray{T, N} where N where T}}, LinearAlgebra.Adjoint{#s151, LinearAlgebra.QRPackedQ{T<:Union{Float32, Float64}, B<:BandedMatrices.AbstractBandedMatrix{T<:Union{Float32, Float64}}}} where #s151) where {T<:Union{Float32, Float64}, B<:BandedMatrices.AbstractBandedMatrix{T<:Union{Float32, Float64}}} in module BandedMatrices at /Users/jagot/.julia/packages/BandedMatrices/c2JG0/src/banded/bandedqr.jl:170 overwritten at /Users/jagot/.julia/packages/BandedMatrices/c2JG0/src/banded/bandedqr.jl:170.
  ** incremental compilation may be fatally broken for this module **

WARNING: Method definition rmul!(Union{DenseArray{T<:Union{Base.Complex{Float32}, Base.Complex{Float64}}, 1}, DenseArray{T<:Union{Base.Complex{Float32}, Base.Complex{Float64}}, 2}, Base.ReinterpretArray{T<:Union{Base.Complex{Float32}, Base.Complex{Float64}}, 2, S, A} where S where A<:Union{Base.SubArray{T, N, A, I, true} where I<:Union{Tuple{Vararg{Real, N} where N}, Tuple{Base.AbstractUnitRange{T} where T, Vararg{Any, N} where N}} where A<:(DenseArray{T, N} where N where T) where N where T, DenseArray{T, N} where N where T}, Base.ReinterpretArray{T<:Union{Base.Complex{Float32}, Base.Complex{Float64}}, 1, S, A} where S where A<:Union{Base.SubArray{T, N, A, I, true} where I<:Union{Tuple{Vararg{Real, N} where N}, Tuple{Base.AbstractUnitRange{T} where T, Vararg{Any, N} where N}} where A<:(DenseArray{T, N} where N where T) where N where T, DenseArray{T, N} where N where T}, Base.ReshapedArray{T<:Union{Base.Complex{Float32}, Base.Complex{Float64}}, 1, A, MI} where MI<:Tuple{Vararg{Base.MultiplicativeInverses.SignedMultiplicativeInverse{Int64}, N} where N} where A<:Union{Base.ReinterpretArray{T, N, S, A} where S where A<:Union{Base.SubArray{T, N, A, I, true} where I<:Union{Tuple{Vararg{Real, N} where N}, Tuple{Base.AbstractUnitRange{T} where T, Vararg{Any, N} where N}} where A<:(DenseArray{T, N} where N where T) where N where T, DenseArray{T, N} where N where T} where N where T, Base.SubArray{T, N, A, I, true} where I<:Union{Tuple{Vararg{Real, N} where N}, Tuple{Base.AbstractUnitRange{T} where T, Vararg{Any, N} where N}} where A<:(DenseArray{T, N} where N where T) where N where T, DenseArray{T, N} where N where T}, Base.ReshapedArray{T<:Union{Base.Complex{Float32}, Base.Complex{Float64}}, 2, A, MI} where MI<:Tuple{Vararg{Base.MultiplicativeInverses.SignedMultiplicativeInverse{Int64}, N} where N} where A<:Union{Base.ReinterpretArray{T, N, S, A} where S where A<:Union{Base.SubArray{T, N, A, I, true} where I<:Union{Tuple{Vararg{Real, N} where N}, Tuple{Base.AbstractUnitRange{T} where T, Vararg{Any, N} where N}} where A<:(DenseArray{T, N} where N where T) where N where T, DenseArray{T, N} where N where T} where N where T, Base.SubArray{T, N, A, I, true} where I<:Union{Tuple{Vararg{Real, N} where N}, Tuple{Base.AbstractUnitRange{T} where T, Vararg{Any, N} where N}} where A<:(DenseArray{T, N} where N where T) where N where T, DenseArray{T, N} where N where T}, Base.SubArray{T<:Union{Base.Complex{Float32}, Base.Complex{Float64}}, 1, A, I, L} where L where I<:Tuple{Vararg{Union{Int64, Base.AbstractRange{Int64}, Base.AbstractCartesianIndex{N} where N}, N} where N} where A<:Union{Base.ReinterpretArray{T, N, S, A} where S where A<:Union{Base.SubArray{T, N, A, I, true} where I<:Union{Tuple{Vararg{Real, N} where N}, Tuple{Base.AbstractUnitRange{T} where T, Vararg{Any, N} where N}} where A<:(DenseArray{T, N} where N where T) where N where T, DenseArray{T, N} where N where T} where N where T, Base.ReshapedArray{T, N, A, MI} where MI<:Tuple{Vararg{Base.MultiplicativeInverses.SignedMultiplicativeInverse{Int64}, N} where N} where A<:Union{Base.ReinterpretArray{T, N, S, A} where S where A<:Union{Base.SubArray{T, N, A, I, true} where I<:Union{Tuple{Vararg{Real, N} where N}, Tuple{Base.AbstractUnitRange{T} where T, Vararg{Any, N} where N}} where A<:(DenseArray{T, N} where N where T) where N where T, DenseArray{T, N} where N where T} where N where T, Base.SubArray{T, N, A, I, true} where I<:Union{Tuple{Vararg{Real, N} where N}, Tuple{Base.AbstractUnitRange{T} where T, Vararg{Any, N} where N}} where A<:(DenseArray{T, N} where N where T) where N where T, DenseArray{T, N} where N where T} where N where T, DenseArray{T, N} where N where T}, Base.SubArray{T<:Union{Base.Complex{Float32}, Base.Complex{Float64}}, 2, A, I, L} where L where I<:Tuple{Vararg{Union{Int64, Base.AbstractRange{Int64}, Base.AbstractCartesianIndex{N} where N}, N} where N} where A<:Union{Base.ReinterpretArray{T, N, S, A} where S where A<:Union{Base.SubArray{T, N, A, I, true} where I<:Union{Tuple{Vararg{Real, N} where N}, Tuple{Base.AbstractUnitRange{T} where T, Vararg{Any, N} where N}} where A<:(DenseArray{T, N} where N where T) where N where T, DenseArray{T, N} where N where T} where N where T, Base.ReshapedArray{T, N, A, MI} where MI<:Tuple{Vararg{Base.MultiplicativeInverses.SignedMultiplicativeInverse{Int64}, N} where N} where A<:Union{Base.ReinterpretArray{T, N, S, A} where S where A<:Union{Base.SubArray{T, N, A, I, true} where I<:Union{Tuple{Vararg{Real, N} where N}, Tuple{Base.AbstractUnitRange{T} where T, Vararg{Any, N} where N}} where A<:(DenseArray{T, N} where N where T) where N where T, DenseArray{T, N} where N where T} where N where T, Base.SubArray{T, N, A, I, true} where I<:Union{Tuple{Vararg{Real, N} where N}, Tuple{Base.AbstractUnitRange{T} where T, Vararg{Any, N} where N}} where A<:(DenseArray{T, N} where N where T) where N where T, DenseArray{T, N} where N where T} where N where T, DenseArray{T, N} where N where T}}, LinearAlgebra.Adjoint{#s152, LinearAlgebra.QRPackedQ{T<:Union{Base.Complex{Float32}, Base.Complex{Float64}}, B<:BandedMatrices.AbstractBandedMatrix{T<:Union{Base.Complex{Float32}, Base.Complex{Float64}}}}} where #s152) where {T<:Union{Base.Complex{Float32}, Base.Complex{Float64}}, B<:BandedMatrices.AbstractBandedMatrix{T<:Union{Base.Complex{Float32}, Base.Complex{Float64}}}} in module BandedMatrices at /Users/jagot/.julia/packages/BandedMatrices/c2JG0/src/banded/bandedqr.jl:169 overwritten at /Users/jagot/.julia/packages/BandedMatrices/c2JG0/src/banded/bandedqr.jl:169.
  ** incremental compilation may be fatally broken for this module **

WARNING: Method definition lmul!(LinearAlgebra.QRPackedQ{#s161, #s160} where #s160<:(BandedMatrices.AbstractBandedMatrix{T} where T) where #s161, Union{AbstractArray{T, 1}, AbstractArray{T, 2}} where T) in module BandedMatrices at /Users/jagot/.julia/packages/BandedMatrices/c2JG0/src/banded/bandedqr.jl:160 overwritten at /Users/jagot/.julia/packages/BandedMatrices/c2JG0/src/banded/bandedqr.jl:160.
  ** incremental compilation may be fatally broken for this module **

WARNING: Method definition lmul!(LinearAlgebra.QRPackedQ{#s155, Base.SubArray{T, 2, BandedMatrices.BandedMatrix{T, C, R}, Tuple{I1<:(Base.AbstractUnitRange{T} where T), I2<:(Base.AbstractUnitRange{T} where T)}, t} where t} where #s155, Union{AbstractArray{T, 1}, AbstractArray{T, 2}} where T) where {T, C, R, I1<:(Base.AbstractUnitRange{T} where T), I2<:(Base.AbstractUnitRange{T} where T)} in module BandedMatrices at /Users/jagot/.julia/packages/BandedMatrices/c2JG0/src/banded/bandedqr.jl:162 overwritten at /Users/jagot/.julia/packages/BandedMatrices/c2JG0/src/banded/bandedqr.jl:162.
  ** incremental compilation may be fatally broken for this module **

WARNING: Method definition lmul!(LinearAlgebra.Adjoint{#s159, #s158} where #s158<:(LinearAlgebra.QRPackedQ{#s157, #s156} where #s156<:(BandedMatrices.AbstractBandedMatrix{T} where T) where #s157) where #s159, Union{AbstractArray{T, 1}, AbstractArray{T, 2}} where T) in module BandedMatrices at /Users/jagot/.julia/packages/BandedMatrices/c2JG0/src/banded/bandedqr.jl:161 overwritten at /Users/jagot/.julia/packages/BandedMatrices/c2JG0/src/banded/bandedqr.jl:161.
  ** incremental compilation may be fatally broken for this module **

WARNING: Method definition lmul!(LinearAlgebra.Adjoint{T, #s154} where #s154<:(LinearAlgebra.QRPackedQ{T, #s153} where #s153<:Base.SubArray{T, 2, BandedMatrices.BandedMatrix{T, C, R}, Tuple{I1<:(Base.AbstractUnitRange{T} where T), I2<:(Base.AbstractUnitRange{T} where T)}, t}), Union{AbstractArray{T, 1}, AbstractArray{T, 2}} where T) where {T, C, R, I1<:(Base.AbstractUnitRange{T} where T), I2<:(Base.AbstractUnitRange{T} where T), t} in module BandedMatrices at /Users/jagot/.julia/packages/BandedMatrices/c2JG0/src/banded/bandedqr.jl:164 overwritten at /Users/jagot/.julia/packages/BandedMatrices/c2JG0/src/banded/bandedqr.jl:164.
  ** incremental compilation may be fatally broken for this module **

julia> r.^2 .* exp.(-r)
BroadcastQuasiArray{Float64,1,typeof(*),Tuple{LazyArrays.BroadcastArray{Float64,1,typeof(Base.literal_pow),Tuple{Base.RefValue{typeof(^)},Inclusion{Float64,Interval{:closed,:closed,Float64}},Base.RefValue{Val{2}}}},Base.Broadcast.Broadcasted{QuasiArrays.LazyQuasiArrayStyle{1},Nothing,typeof(exp),Tuple{BroadcastQuasiArray{Float64,1,typeof(-),Tuple{Inclusion{Float64,Interval{:closed,:closed,Float64}}}}}}}}(*, (Error showing value of type BroadcastQuasiArray{Float64,1,typeof(*),Tuple{LazyArrays.BroadcastArray{Float64,1,typeof(Base.literal_pow),Tuple{Base.RefValue{typeof(^)},Inclusion{Float64,Interval{:closed,:closed,Float64}},Base.RefValue{Val{2}}}},Base.Broadcast.Broadcasted{QuasiArrays.LazyQuasiArrayStyle{1},Nothing,typeof(exp),Tuple{BroadcastQuasiArray{Float64,1,typeof(-),Tuple{Inclusion{Float64,Interval{:closed,:closed,Float64}}}}}}}}:
ERROR: promotion of types Int64 and ContinuumArrays.AlephInfinity{1} failed to change any arguments
Stacktrace:
 [1] error(::String, ::String, ::String) at ./error.jl:42
 [2] sametype_error(::Tuple{Int64,ContinuumArrays.AlephInfinity{1}}) at ./promotion.jl:308
 [3] not_sametype(::Tuple{Int64,ContinuumArrays.AlephInfinity{1}}, ::Tuple{Int64,ContinuumArrays.AlephInfinity{1}}) at ./promotion.jl:302
 [4] promote at ./promotion.jl:285 [inlined]
 [5] <(::Int64, ::ContinuumArrays.AlephInfinity{1}) at ./promotion.jl:351
 [6] >(::ContinuumArrays.AlephInfinity{1}, ::Int64) at ./operators.jl:294
 [7] show_vector(::IOContext{REPL.Terminals.TTYTerminal}, ::LazyArrays.BroadcastArray{Float64,1,typeof(Base.literal_pow),Tuple{Base.RefValue{typeof(^)},Inclusion{Float64,Interval{:closed,:closed,Float64}},Base.RefValue{Val{2}}}}, ::Char, ::Char) at ./arrayshow.jl:436
 [8] show_vector(::IOContext{REPL.Terminals.TTYTerminal}, ::LazyArrays.BroadcastArray{Float64,1,typeof(Base.literal_pow),Tuple{Base.RefValue{typeof(^)},Inclusion{Float64,Interval{:closed,:closed,Float64}},Base.RefValue{Val{2}}}}) at ./arrayshow.jl:432
 [9] show(::IOContext{REPL.Terminals.TTYTerminal}, ::LazyArrays.BroadcastArray{Float64,1,typeof(Base.literal_pow),Tuple{Base.RefValue{typeof(^)},Inclusion{Float64,Interval{:closed,:closed,Float64}},Base.RefValue{Val{2}}}}) at ./arrayshow.jl:418
 [10] show_delim_array(::IOContext{REPL.Terminals.TTYTerminal}, ::Tuple{LazyArrays.BroadcastArray{Float64,1,typeof(Base.literal_pow),Tuple{Base.RefValue{typeof(^)},Inclusion{Float64,Interval{:closed,:closed,Float64}},Base.RefValue{Val{2}}}},Base.Broadcast.Broadcasted{QuasiArrays.LazyQuasiArrayStyle{1},Nothing,typeof(exp),Tuple{BroadcastQuasiArray{Float64,1,typeof(-),Tuple{Inclusion{Float64,Interval{:closed,:closed,Float64}}}}}}}, ::Char, ::Char, ::Char, ::Bool, ::Int64, ::Int64) at ./show.jl:712
 [11] show_delim_array at ./show.jl:697 [inlined]
 [12] show(::IOContext{REPL.Terminals.TTYTerminal}, ::Tuple{LazyArrays.BroadcastArray{Float64,1,typeof(Base.literal_pow),Tuple{Base.RefValue{typeof(^)},Inclusion{Float64,Interval{:closed,:closed,Float64}},Base.RefValue{Val{2}}}},Base.Broadcast.Broadcasted{QuasiArrays.LazyQuasiArrayStyle{1},Nothing,typeof(exp),Tuple{BroadcastQuasiArray{Float64,1,typeof(-),Tuple{Inclusion{Float64,Interval{:closed,:closed,Float64}}}}}}}) at ./show.jl:730
 [13] _show_default(::IOContext{REPL.Terminals.TTYTerminal}, ::Any) at ./show.jl:347
 [14] show_default at ./show.jl:330 [inlined]
 [15] show at ./show.jl:327 [inlined]
 [16] show(::IOContext{REPL.Terminals.TTYTerminal}, ::MIME{Symbol("text/plain")}, ::BroadcastQuasiArray{Float64,1,typeof(*),Tuple{LazyArrays.BroadcastArray{Float64,1,typeof(Base.literal_pow),Tuple{Base.RefValue{typeof(^)},Inclusion{Float64,Interval{:closed,:closed,Float64}},Base.RefValue{Val{2}}}},Base.Broadcast.Broadcasted{QuasiArrays.LazyQuasiArrayStyle{1},Nothing,typeof(exp),Tuple{BroadcastQuasiArray{Float64,1,typeof(-),Tuple{Inclusion{Float64,Interval{:closed,:closed,Float64}}}}}}}}) at ./multimedia.jl:47
 [17] display(::REPL.REPLDisplay, ::MIME{Symbol("text/plain")}, ::Any) at /Users/sabae/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.2/REPL/src/REPL.jl:132
 [18] display(::REPL.REPLDisplay, ::Any) at /Users/sabae/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.2/REPL/src/REPL.jl:136
 [19] display(::Any) at ./multimedia.jl:323
 [20] #invokelatest#1 at ./essentials.jl:790 [inlined]
 [21] invokelatest at ./essentials.jl:789 [inlined]
 [22] print_response(::IO, ::Any, ::Bool, ::Bool, ::Any) at /Users/sabae/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.2/REPL/src/REPL.jl:156
 [23] print_response(::REPL.AbstractREPL, ::Any, ::Bool, ::Bool) at /Users/sabae/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.2/REPL/src/REPL.jl:141
 [24] (::getfield(REPL, Symbol("#do_respond#38")){Bool,getfield(REPL, Symbol("##48#57")){REPL.LineEditREPL,REPL.REPLHistoryProvider},REPL.LineEditREPL,REPL.LineEdit.Prompt})(::Any, ::Any, ::Any) at /Users/sabae/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.2/REPL/src/REPL.jl:718
 [25] #invokelatest#1 at ./essentials.jl:790 [inlined]
 [26] invokelatest at ./essentials.jl:789 [inlined]
 [27] run_interface(::REPL.Terminals.TextTerminal, ::REPL.LineEdit.ModalInterface, ::REPL.LineEdit.MIState) at /Users/sabae/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.2/REPL/src/LineEdit.jl:2306
 [28] run_frontend(::REPL.LineEditREPL, ::REPL.REPLBackendRef) at /Users/sabae/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.2/REPL/src/REPL.jl:1038
 [29] run_repl(::REPL.AbstractREPL, ::Any) at /Users/sabae/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.2/REPL/src/REPL.jl:201
 [30] (::getfield(Base, Symbol("##737#739")){Bool,Bool,Bool,Bool})(::Module) at ./client.jl:390
 [31] #invokelatest#1 at ./essentials.jl:790 [inlined]
 [32] invokelatest at ./essentials.jl:789 [inlined]
 [33] run_main_repl(::Bool, ::Bool, ::Bool, ::Bool, ::Bool) at ./client.jl:374
 [34] exec_options(::Base.JLOptions) at ./client.jl:312
 [35] _start() at ./client.jl:464
dlfivefifty commented 4 years ago

It's fixed (but requires ContinuumArrays.jl):

julia> using IntervalSets, QuasiArrays, ContinuumArrays

julia> r = Inclusion(0.0..70.0)
Inclusion(0.0..70.0)

julia> r.^2
BroadcastQuasiArray{Float64,1,typeof(Base.literal_pow),Tuple{Base.RefValue{typeof(^)},Inclusion{Float64,Interval{:closed,:closed,Float64}},Base.RefValue{Val{2}}}}(Base.literal_pow, (Base.RefValue{typeof(^)}(^), Inclusion(0.0..70.0), Base.RefValue{Val{2}}(Val{2}())))

julia> exp.(-r)
BroadcastQuasiArray{Float64,1,typeof(exp),Tuple{BroadcastQuasiArray{Float64,1,typeof(-),Tuple{Inclusion{Float64,Interval{:closed,:closed,Float64}}}}}}(exp, (BroadcastQuasiArray{Float64,1,typeof(-),Tuple{Inclusion{Float64,Interval{:closed,:closed,Float64}}}}(-, (Inclusion(0.0..70.0),)),))

julia> r.^2 .* exp.(-r)
BroadcastQuasiArray{Float64,1,typeof(*),Tuple{BroadcastQuasiArray{Float64,1,typeof(Base.literal_pow),Tuple{Base.RefValue{typeof(^)},Inclusion{Float64,Interval{:closed,:closed,Float64}},Base.RefValue{Val{2}}}},Base.Broadcast.Broadcasted{QuasiArrays.LazyQuasiArrayStyle{1},Nothing,typeof(exp),Tuple{BroadcastQuasiArray{Float64,1,typeof(-),Tuple{Inclusion{Float64,Interval{:closed,:closed,Float64}}}}}}}}(*, (BroadcastQuasiArray{Float64,1,typeof(Base.literal_pow),Tuple{Base.RefValue{typeof(^)},Inclusion{Float64,Interval{:closed,:closed,Float64}},Base.RefValue{Val{2}}}}(Base.literal_pow, (Base.RefValue{typeof(^)}(^), Inclusion(0.0..70.0), Base.RefValue{Val{2}}(Val{2}()))), Base.Broadcast.Broadcasted(exp, (BroadcastQuasiArray{Float64,1,typeof(-),Tuple{Inclusion{Float64,Interval{:closed,:closed,Float64}}}}(-, (Inclusion(0.0..70.0),)),))))

julia> (r.^2 .* exp.(-r))[0.1]
0.009048374180359597