Skip to content

Commit

Permalink
Merge pull request #2 from putianyi889/version-0.0.1.1
Browse files Browse the repository at this point in the history
deprecate slicesupport
  • Loading branch information
putianyi889 authored Jan 31, 2024
2 parents 1f007b9 + ecab267 commit 6f7cc50
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 27 deletions.
8 changes: 3 additions & 5 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ authors = ["Tianyi Pu <912396513@qq.com> and contributors"]
version = "0.0.1"

[deps]
ArrayLayouts = "4c555306-a7a7-4459-81d9-ec55ddd5c99a"
BandedMatrices = "aae01518-5342-5314-be14-df237901396f"
CircularArrays = "7a955b69-7140-5f4e-a0ed-f168c5e2e749"
Infinities = "e1ba4f0e-776d-440f-acd9-e1d2e9742647"
Expand All @@ -13,12 +12,11 @@ LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"

[compat]
ArrayLayouts = "1"
BandedMatrices = "1"
BandedMatrices = "0.15, 0.16, 0.17, 1"
CircularArrays = "1"
Infinities = "0.1"
LazyArrays = "1"
StaticArrays = "1"
LazyArrays = "0.16, 0.17, 0.18, 0.19, 0.20, 0.21, 0.22, 1"
StaticArrays = "0.8, 0.9, 0.10, 0.11, 0.12, 1"
julia = "1.3"

[extras]
Expand Down
19 changes: 0 additions & 19 deletions src/ArrayLayoutsExt.jl

This file was deleted.

1 change: 0 additions & 1 deletion src/PseudostableRecurrences.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ module PseudostableRecurrences
# Write your package code here.

include("Utils.jl")
include("ArrayLayoutsExt.jl")
include("CircularArraysExt.jl")
include("FillArraysExt.jl")
include("BandedMatricesExt.jl")
Expand Down
2 changes: 1 addition & 1 deletion src/StencilRecurrences.jl
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ function init(P::StencilRecurrencePlan; T=Float64, init=:default)
buffer = CircularArray(rand(T, front(P.size)..., P.offset[end]))
end
sliceind = P.offset[end]
sliceend = MVector(last.(slicesupport(buffer, sliceind, dims=ndims(buffer)))..., sliceind)
sliceend = MVector(front(size(P))..., sliceind)
StencilRecurrence(P.stencil, (f->BroadcastArray{T}(splat(f), Product(axes(P)))).(P.coef), buffer, MVector(P.offset...), sliceend, P.size[end]), eachslice(view(buffer.data, fill(:, ndims(buffer)-1)..., axes(buffer)[end][1:end-1]), dims=ndims(buffer))
end

Expand Down
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ end

using Documenter
@testset "DocTest" begin
doctest(PseudostableRecurrences; manual = false)
doctest(PseudostableRecurrences; manual = true)
end

using Aqua
Expand Down

0 comments on commit 6f7cc50

Please sign in to comment.