Skip to content

Commit

Permalink
Merge pull request #4 from JuliaArrays/mbaran/exports
Browse files Browse the repository at this point in the history
Export main types and aliases
  • Loading branch information
mateuszbaran authored Jun 27, 2022
2 parents 4ced4ff + a820758 commit 6d32a69
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "StaticArraysCore"
uuid = "1e83bf80-4336-4d27-bf5d-d5a4f845583c"
version = "1.0.0"
version = "1.0.1"

[compat]
julia = "1.6"
Expand Down
3 changes: 3 additions & 0 deletions src/StaticArraysCore.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
module StaticArraysCore

export SArray, SMatrix, SVector
export MArray, MMatrix, MVector
export SizedArray, SizedMatrix, SizedVector

"""
abstract type StaticArray{S, T, N} <: AbstractArray{T, N} end
Expand Down
4 changes: 0 additions & 4 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
using StaticArraysCore, Test

using StaticArraysCore: SArray, SVector, SMatrix
using StaticArraysCore: MArray, MVector, MMatrix
using StaticArraysCore: SizedArray, SizedVector, SizedMatrix

@testset "types" begin
@test SArray{Tuple{2},Int,1}((1, 2)) isa SArray
@test_throws ArgumentError SArray{Tuple{2},Int,2}((1, 2))
Expand Down

2 comments on commit 6d32a69

@mateuszbaran
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/63197

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.1 -m "<description of version>" 6d32a69e1bd0173898dbb6d4b316f5c5a73a12d5
git push origin v1.0.1

Please sign in to comment.