Skip to content

Commit 7e8864e

Browse files
Merge pull request #27 from SciML/restructure
Restructure in replace AbstractArray fallback
2 parents 37213fd + a9e7bd8 commit 7e8864e

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/Downstream.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,16 @@ jobs:
2626
matrix:
2727
package:
2828
- {user: SciML, repo: SciMLBase.jl, group: Core}
29+
- {user: SciML, repo: SciMLSensitivity.jl, group: Core1}
30+
- {user: SciML, repo: SciMLSensitivity.jl, group: Core2}
31+
- {user: SciML, repo: SciMLSensitivity.jl, group: Core3}
32+
- {user: SciML, repo: SciMLSensitivity.jl, group: Core4}
33+
- {user: SciML, repo: SciMLSensitivity.jl, group: Core5}
34+
- {user: SciML, repo: SciMLSensitivity.jl, group: Core6}
2935
version:
3036
- '1'
3137
os:
3238
- ubuntu-latest
33-
- macos-latest
34-
- windows-latest
3539
steps:
3640
- uses: actions/checkout@v4
3741
- uses: julia-actions/setup-julia@v2

src/array.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ isscimlstructure(::AbstractArray{<:Number}) = true
2525

2626
function SciMLStructures.replace(
2727
::SciMLStructures.Tunable, arr::AbstractArray, new_arr::AbstractArray)
28-
reshape(new_arr, size(arr))
28+
restructure(arr, new_arr)
2929
end

0 commit comments

Comments
 (0)