Skip to content

Commit f0a1932

Browse files
authored
update for new ArrayLayouts (#49)
* update for new ArrayLayouts * v0.2.2 * Update runtests.jl * Update .travis.yml
1 parent ae087dc commit f0a1932

File tree

6 files changed

+10
-8
lines changed

6 files changed

+10
-8
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ os:
66
- windows
77
julia:
88
- 1.3
9+
- 1.4
910
- nightly
1011
matrix:
1112
allow_failures:

Project.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "ContinuumArrays"
22
uuid = "7ae1f121-cc2c-504b-ac30-9b923412ae5c"
3-
version = "0.2.1"
3+
version = "0.2.2"
44

55
[deps]
66
ArrayLayouts = "4c555306-a7a7-4459-81d9-ec55ddd5c99a"
@@ -12,12 +12,12 @@ LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
1212
QuasiArrays = "c4ea9172-b204-11e9-377d-29865faadc5c"
1313

1414
[compat]
15-
ArrayLayouts = "0.1"
16-
BandedMatrices = "0.14.2"
15+
ArrayLayouts = "0.2.4"
16+
BandedMatrices = "0.15"
1717
FillArrays = "0.8.2"
1818
IntervalSets = "0.3.2, 0.4"
19-
LazyArrays = "0.14.11, 0.15"
20-
QuasiArrays = "0.1.1, 0.2"
19+
LazyArrays = "0.16"
20+
QuasiArrays = "0.2"
2121
julia = "1.3"
2222

2323
[extras]

src/ContinuumArrays.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import Base: @_inline_meta, @_propagate_inbounds_meta, axes, getindex, convert,
66
getproperty
77
import Base.Broadcast: materialize, BroadcastStyle, broadcasted
88
import LazyArrays: MemoryLayout, Applied, ApplyStyle, flatten, _flatten, colsupport,
9-
adjointlayout, LdivApplyStyle, arguments, _arguments, call, broadcastlayout, lazy_getindex,
9+
adjointlayout, LdivApplyStyle, arguments, _arguments, call, broadcastlayout, layout_getindex,
1010
sublayout, sub_materialize, ApplyLayout, BroadcastLayout, combine_mul_styles
1111
import LinearAlgebra: pinv
1212
import BandedMatrices: AbstractBandedLayout, _BandedMatrix

src/bases/bases.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ end
7575
@inline function copy(L::Ldiv{SubBasisLayout,BasisLayout})
7676
P = parent(L.A)
7777
kr, jr = parentindices(L.A)
78-
lazy_getindex(apply(\, P, L.B), jr, :) # avoid sparse arrays
78+
layout_getindex(apply(\, P, L.B), jr, :) # avoid sparse arrays
7979
end
8080

8181

src/bases/splines.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ grid(L::LinearSpline) = L.points
4141
transform(L::LinearSpline{T}) where T = grid(L),Eye{T}(size(L,2))
4242
function transform(V::SubQuasiArray{<:Any,2,<:LinearSpline,<:Tuple{<:Inclusion,<:Any}})
4343
g, T = transform(parent(V))
44-
g, qr(lazy_getindex(T,:,parentindices(V)[2])) # avoid sparse matrices of sub-diagonal
44+
g, qr(layout_getindex(T,:,parentindices(V)[2])) # avoid sparse matrices of sub-diagonal
4545
end
4646

4747
## Sub-bases

test/runtests.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,7 @@ end
230230
x = axes(L,1)
231231
@test (L \ x) == [1,2,3]
232232
@test factorize(L[:,2:end-1]) isa ContinuumArrays.ProjectionFactorization
233+
@test L[:,1:2] \ x == [1,2]
233234

234235
L = LinearSpline(range(0,1; length=10_000))
235236
x = axes(L,1)

0 commit comments

Comments
 (0)