Skip to content

Commit

Permalink
more specific supertype for Basis{D}
Browse files Browse the repository at this point in the history
  • Loading branch information
thchr committed May 24, 2021
1 parent 95dbc6b commit 581b746
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"""
$(TYPEDEF)
"""
abstract type Basis{D} <: AbstractVector{SVector{D,Float64}} end
abstract type Basis{D} <: StaticVector{D, SVector{D,Float64}} end
for T in (:DirectBasis, :ReciprocalBasis)
@eval begin
@doc """
Expand Down

0 comments on commit 581b746

Please sign in to comment.