diff --git a/src/types.jl b/src/types.jl index 3816e9e9..4a575300 100644 --- a/src/types.jl +++ b/src/types.jl @@ -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 """