Skip to content

Commit

Permalink
Fix constructor of empty SSSets
Browse files Browse the repository at this point in the history
  • Loading branch information
Datseris committed Sep 26, 2024
1 parent 94973b1 commit b79aacd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name = "StateSpaceSets"
uuid = "40b095a5-5852-4c12-98c7-d43bf788e795"
authors = ["George Datseris <[email protected]>"]
repo = "https://github.com/JuliaDynamics/StateSpaceSets.jl.git"
version = "2.1.1"
version = "2.1.2"

[deps]
Distances = "b4f34e82-e78d-54a5-968a-f98e89d6e8f7"
Expand Down
2 changes: 1 addition & 1 deletion src/statespaceset_concrete.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b79aacd

Please sign in to comment.