Skip to content

Commit

Permalink
resolved FixedVector ambiguity
Browse files Browse the repository at this point in the history
  • Loading branch information
chakravala committed Jun 22, 2024
1 parent af0b2e4 commit 7ab7f91
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "StaticVectors"
uuid = "20fadf95-9e3d-483c-97cd-cab2760e7998"
authors = ["Michael Reed"]
version = "1.0.4"
version = "1.0.5"

[deps]
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
Expand Down
1 change: 1 addition & 0 deletions src/FixedVector.jl
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ struct FixedVector{N,T,TData<:AbstractVector{T}} <: TupleVector{N,T}
end
end

@inline FixedVector{N,T}(a::FixedVector{N,T}) where {N,T} = a
@inline function FixedVector{N,T}(a::TData) where {N,T,TData<:AbstractVector{T}}
return FixedVector{N,T,TData}(a)
end
Expand Down

2 comments on commit 7ab7f91

@chakravala
Copy link
Owner Author

Choose a reason for hiding this comment

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

@JuliaRegistrator register()

@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/109568

Tip: Release Notes

Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.

@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.

Tagging

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 v1.0.5 -m "<description of version>" 7ab7f914fcf83ad03ccd003bbec9f4296a7863cf
git push origin v1.0.5

Please sign in to comment.