Skip to content

Commit fe83413

Browse files
committed
Some ∞ stuff working now
1 parent 3ddb80f commit fe83413

File tree

4 files changed

+460
-8
lines changed

4 files changed

+460
-8
lines changed

src/ContinuumArrays.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ function materialize(V::SubQuasiArray{<:Any,2,<:Any,<:Tuple{<:QSlice,<:AbstractU
4242
A = parent(V)
4343
_,jr = parentindices(V)
4444
first(jr) 1 || throw(BoundsError())
45-
P = BandedMatrix((1-first(jr) => Ones{Int}(length(jr)),), (size(A,2), length(jr)))
45+
P = _BandedMatrix(Ones{Int}(1,length(jr)), axes(A,2), first(jr)-1,1-first(jr))
4646
A*P
4747
end
4848

src/QuasiArrays/QuasiArrays.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import Base: @_inline_meta, DimOrInd, OneTo, @_propagate_inbounds_meta, @_noinli
99
index_shape, to_shape, unsafe_length, @nloops, @ncall, Slice, unalias
1010
import Base: ViewIndex, Slice, ScalarIndex, RangeIndex, view, viewindexing, ensure_indexable, index_dimsum,
1111
check_parent_index_match, reindex, _isdisjoint, unsafe_indices,
12-
parentindices
12+
parentindices, reverse
1313
import Base: *, /, \, +, -, inv
1414
import Base: exp, log, sqrt,
1515
cos, sin, tan, csc, sec, cot,
@@ -43,6 +43,7 @@ include("abstractquasiarray.jl")
4343
include("multidimensional.jl")
4444
include("subquasiarray.jl")
4545
include("matmul.jl")
46+
include("abstractquasiarraymath.jl")
4647

4748
include("quasiadjtrans.jl")
4849
include("quasidiagonal.jl")

0 commit comments

Comments
 (0)