Fix Julia 1.11 AbstractVectorOfArray indexing deprecation warnings #365
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
AbstractVectorOfArrayindexingsol[i]→sol.u[i]andasol[i]→asol.u[i]patterns across test filesBase.getindex(VA::AbstractVectorOfArray{T,N,A}, I::Int) is deprecated, use VA.u[I] insteadChanges
Fixed deprecation warnings in 12 test files:
test/ensemblegpuarray.jltest/distributed_multi_gpu.jltest/gpu_kernel_de/gpu_ode_regression.jltest/gpu_kernel_de/gpu_sde_regression.jltest/gpu_kernel_de/gpu_sde_convergence.jltest/gpu_kernel_de/finite_diff.jltest/gpu_kernel_de/gpu_ode_continuous_callbacks.jltest/gpu_kernel_de/gpu_ode_discrete_callbacks.jltest/gpu_kernel_de/stiff_ode/gpu_ode_regression.jltest/gpu_kernel_de/stiff_ode/gpu_ode_continuous_callbacks.jltest/gpu_kernel_de/stiff_ode/gpu_ode_discrete_callbacks.jltest/gpu_kernel_de/stiff_ode/gpu_ode_mass_matrix.jlTotal: 107 instances of
sol.u[i]and 19 instances ofasol.u[i]patterns updated.Test plan
🤖 Generated with Claude Code