You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Applied JuliaFormatter to ensure consistent code formatting across the codebase.
This includes formatting improvements to source files, extensions, and test files.
Note: One file (src/vector_of_array.jl) was skipped due to parsing error with special comment syntax.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
Copy file name to clipboardExpand all lines: src/RecursiveArrayTools.jl
+3-10Lines changed: 3 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -28,22 +28,15 @@ An AbstractVectorOfArray subtype should match the following behaviors.
28
28
29
29
!!! note
30
30
31
-
In 2023 the linear indexing `A[i]`` was deprecated. It previously had the behavior that
32
-
`A[i] = A.u[i]`. However, this is incompatible with standard `AbstractArray` interfaces,
33
-
Since if `A = VectorOfArray([[1,2],[3,4]])` and `A` is supposed to act like `[1 3; 2 4]`,
34
-
then there is a difference `A[1] = [1,2]` for the VectorOfArray while `A[1] = 1` for the
35
-
matrix. This causes many issues if `AbstractVectorOfArray <: AbstractArray`. Thus we
36
-
plan in 2026 to complete the deprecation and thus have a breaking update where `A[i]`
37
-
matches the linear indexing of an `AbstractArray`, and then making
38
-
`AbstractVectorOfArray <: AbstractArray`. Until then, `AbstractVectorOfArray` due to
31
+
In 2023 the linear indexing `A[i]`` was deprecated. It previously had the behavior that `A[i] = A.u[i]`. However, this is incompatible with standard `AbstractArray`interfaces, Since if`A = VectorOfArray([[1,2],[3,4]])`and`A`is supposed to act like`[1 3; 2 4]`, then there is a difference `A[1] = [1,2]`for the VectorOfArray while`A[1] = 1`for the matrix. This causes many issues if`AbstractVectorOfArray <: AbstractArray`. Thus we plan in 2026 to complete the deprecation and thus have a breaking update where `A[i]`matches the linear indexing of an`AbstractArray`, and then making `AbstractVectorOfArray <: AbstractArray`. Until then, `AbstractVectorOfArray` due to
39
32
this interface break but manually implements an AbstractArray-like interface for
40
33
future compatibility.
41
34
42
35
## Fields
43
36
44
37
An AbstractVectorOfArray has the following fields:
45
38
46
-
* `u` which holds the Vector of values at each timestep
39
+
- `u` which holds the Vector of values at each timestep
47
40
48
41
## Array Interface
49
42
@@ -125,7 +118,7 @@ additional properties:
125
118
126
119
An AbstractDiffEqArray adds the following fields:
127
120
128
-
* `t` which holds the times of each timestep.
121
+
- `t` which holds the times of each timestep.
129
122
"""
130
123
abstract type AbstractDiffEqArray{T, N, A} <:AbstractVectorOfArray{T, N, A}end
0 commit comments