Skip to content

Commit 9079daf

Browse files
authored
Merge branch 'SciML:master' into jc/VectorOfArray_multidim
2 parents 0696708 + 87337d8 commit 9079daf

File tree

8 files changed

+12
-4
lines changed

8 files changed

+12
-4
lines changed

.github/dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ updates:
77
interval: "weekly"
88
ignore:
99
- dependency-name: "crate-ci/typos"
10-
update-types: ["version-update:semver-patch"]
10+
update-types: ["version-update:semver-patch", "version-update:semver-minor"]

.github/workflows/CI.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,5 @@ jobs:
4545
- uses: codecov/codecov-action@v4
4646
with:
4747
file: lcov.info
48+
token: ${{ secrets.CODECOV_TOKEN }}
49+
fail_ci_if_error: true

.github/workflows/Documentation.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,5 @@ jobs:
2727
- uses: codecov/codecov-action@v4
2828
with:
2929
file: lcov.info
30+
token: ${{ secrets.CODECOV_TOKEN }}
31+
fail_ci_if_error: true

.github/workflows/Downgrade.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ jobs:
2424
- uses: julia-actions/setup-julia@v1
2525
with:
2626
version: ${{ matrix.version }}
27-
- uses: cjdoris/julia-downgrade-compat-action@v1
27+
- uses: julia-actions/julia-downgrade-compat@v1
2828
# if: ${{ matrix.version == '1.6' }}
2929
with:
3030
skip: Pkg,TOML
3131
- uses: julia-actions/julia-buildpkg@v1
32-
- uses: julia-actions/julia-runtest@v1
32+
- uses: julia-actions/julia-runtest@v1

.github/workflows/Downstream.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,5 @@ jobs:
6464
- uses: codecov/codecov-action@v4
6565
with:
6666
file: lcov.info
67+
token: ${{ secrets.CODECOV_TOKEN }}
68+
fail_ci_if_error: true

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "RecursiveArrayTools"
22
uuid = "731186ca-8d62-57ce-b412-fbd966d074cd"
33
authors = ["Chris Rackauckas <[email protected]>"]
4-
version = "3.8.0"
4+
version = "3.8.1"
55

66
[deps]
77
Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e"

src/array_partition.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,7 @@ Base.@propagate_inbounds function Base.getindex(A::ArrayPartition, i::Int)
219219
return A.x[j][length(A.x[j]) + i]
220220
end
221221
end
222+
throw(BoundsError(A, i))
222223
end
223224

224225
"""

test/partitions_test.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
using RecursiveArrayTools, Test, Statistics, ArrayInterface
22
A = (rand(5), rand(5))
33
p = ArrayPartition(A)
4+
@inferred p[1]
45
@test (p.x[1][1], p.x[2][1]) == (p[1], p[6])
56

67
p = ArrayPartition(A, Val{true})

0 commit comments

Comments
 (0)