-
-
Notifications
You must be signed in to change notification settings - Fork 72
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: SciML/RecursiveArrayTools.jl
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.39.0
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: SciML/RecursiveArrayTools.jl
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 4 commits
- 3 files changed
- 3 contributors
Commits on Oct 24, 2025
-
Fix recursivefill! failure with immutable StaticArrays (issue #461)
This commit fixes a bug where `recursivefill!` would fail when called on a `VectorOfArray` containing immutable `StaticArray` types like `SVector`. ## Problem The `Base.fill!` method for `AbstractVectorOfArray` attempted to call `fill!` on each element array, which fails for immutable arrays that don't support in-place modification via `setindex!`. ## Solution Modified `Base.fill!` to check if each element is mutable before attempting to fill it. For immutable arrays, we now create a new filled array using `StaticArraysCore.similar_type` and assign it, following the same pattern used in the existing `copyto!` implementation. ## Changes - Updated `Base.fill!` in `src/vector_of_array.jl` to handle both mutable and immutable arrays correctly - Added comprehensive tests in `test/utils_test.jl` to cover: - `VectorOfArray` with only immutable `SVector`s - `VectorOfArray` with mixed immutable and mutable `StaticArray`s - Both `recursivefill!` and `fill!` methods All existing tests continue to pass. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Configuration menu - View commit details
-
Copy full SHA for 059ae4d - Browse repository at this point
Copy the full SHA 059ae4dView commit details -
Merge pull request #493 from ChrisRackauckas-Claude/fix-recursivefill…
…-immutable-staticarrays Fix recursivefill! failure with immutable StaticArrays
Configuration menu - View commit details
-
Copy full SHA for 9193003 - Browse repository at this point
Copy the full SHA 9193003View commit details -
Fix view of VectorOfArray with heterogeneous array sizes
Fixes #453 The issue was that `view(f, :, i)` for a VectorOfArray with heterogeneous inner array sizes returned incorrect results. The problem was that `to_indices` uses `axes`, which is based on the first element's size, causing views of columns with different sizes to have incorrect dimensions. Solution: Added special handling for `view(A, :, i)` where `i` is an Int, to use the actual size of the specific column being viewed rather than relying on `to_indices`. Changes: - Modified Base.view for AbstractVectorOfArray to handle heterogeneous arrays by computing the correct indices based on the actual column size - Added comprehensive tests for views of heterogeneous arrays including: * Testing correct lengths of views * Testing that views match regular indexing * Testing that views can be modified All existing tests pass. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Configuration menu - View commit details
-
Copy full SHA for 63c3de8 - Browse repository at this point
Copy the full SHA 63c3de8View commit details -
Merge pull request #494 from ChrisRackauckas-Claude/fix-heterogeneous…
…-view-issue-453 Fix view of VectorOfArray with heterogeneous array sizes
Configuration menu - View commit details
-
Copy full SHA for 3710526 - Browse repository at this point
Copy the full SHA 3710526View commit details
Loading
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v3.39.0...master