Skip to content

Commit

Permalink
Fixed Array(sol) axes for diff eq solutions
Browse files Browse the repository at this point in the history
  • Loading branch information
jonniedie committed Feb 12, 2021
1 parent 9658b0c commit 9b8fc97
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "ComponentArrays"
uuid = "b0b7db55-cfe3-40fc-9ded-d10e2dbeff66"
authors = ["Jonnie Diegelman <[email protected]>"]
version = "0.8.16"
version = "0.8.17"

[deps]
ArrayInterface = "4fba245c-0d91-5ea0-9b3e-6abc04ee57a9"
Expand Down
2 changes: 1 addition & 1 deletion src/if_required/recursivearraytools.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
AVOA = RecursiveArrayTools.AbstractVectorOfArray

function Base.Array(VA::AVOA{T,N,A}) where {T,N,A<:AbstractVector{<:ComponentVector}}
return ComponentArray(reduce(hcat, VA.u), FlatAxis(), getaxes(VA.u[1])[1])
return ComponentArray(reduce(hcat, VA.u), only(getaxes(VA.u[1])), FlatAxis())
end

2 comments on commit 9b8fc97

@jonniedie
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/29922

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.8.17 -m "<description of version>" 9b8fc97e368a66b72d0b417ce0c07f177950d2d8
git push origin v0.8.17

Please sign in to comment.