diff --git a/Project.toml b/Project.toml index ef76c1a..c468523 100644 --- a/Project.toml +++ b/Project.toml @@ -2,7 +2,7 @@ name = "StateSpaceSets" uuid = "40b095a5-5852-4c12-98c7-d43bf788e795" authors = ["George Datseris "] repo = "https://github.com/JuliaDynamics/StateSpaceSets.jl.git" -version = "2.1.1" +version = "2.1.2" [deps] Distances = "b4f34e82-e78d-54a5-968a-f98e89d6e8f7" diff --git a/src/statespaceset_concrete.jl b/src/statespaceset_concrete.jl index e535f12..ddf5e2c 100644 --- a/src/statespaceset_concrete.jl +++ b/src/statespaceset_concrete.jl @@ -54,7 +54,7 @@ struct StateSpaceSet{D, T, V<:AbstractVector} <: AbstractStateSpaceSet{D,T,V} data::Vector{V} end # Empty dataset: -StateSpaceSet{D, T}() where {D,T} = StateSpaceSet(SVector{D,T}[]) +StateSpaceSet{D, T}() where {D,T} = StateSpaceSet{D,T,SVector{D,T}}(SVector{D,T}[]) # Identity constructor: StateSpaceSet{D, T}(s::StateSpaceSet{D, T}) where {D,T} = s