Skip to content

Commit

Permalink
simplify dependencies (#9)
Browse files Browse the repository at this point in the history
* simplify dependencies

* bump version
  • Loading branch information
Datseris authored Jan 29, 2023
1 parent e809240 commit 6fc0873
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
8 changes: 3 additions & 5 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,20 @@ name = "StateSpaceSets"
uuid = "40b095a5-5852-4c12-98c7-d43bf788e795"
authors = ["George Datseris <[email protected]>"]
repo = "https://github.com/JuliaDynamics/StateSpaceSets.jl.git"
version = "0.1.4"
version = "0.1.5"

[deps]
Distances = "b4f34e82-e78d-54a5-968a-f98e89d6e8f7"
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
Neighborhood = "645ca80c-8b79-4109-87ea-e1f58159d116"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
StaticArraysCore = "1e83bf80-4336-4d27-bf5d-d5a4f845583c"
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91"

[compat]
Distances = "0.7, 0.8, 0.9, 0.10"
Distributions = "0.23, 0.24, 0.25"
Neighborhood = "0.2"
StaticArrays = "0.8, 0.11, 0.12, 1.0"
StatsBase = "0.24, 0.32, 0.33"
StaticArraysCore = "1.4"
julia = "1.5"
3 changes: 1 addition & 2 deletions src/dataset.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using StaticArrays, LinearAlgebra
using StaticArraysCore, LinearAlgebra
using Base.Iterators: flatten

export Dataset, AbstractDataset, minima, maxima
Expand All @@ -13,7 +13,6 @@ abstract type AbstractDataset{D, T} end
# @eval Base.$(f)(d::AbsractDataset, args...) = $(f)(d.data, args...)
# end


"""
dimension(thing) -> D
Return the dimension of the `thing`, in the sense of state-space dimensionality.
Expand Down
2 changes: 1 addition & 1 deletion src/neighborhoods.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export WithinRange, NeighborNumber
export Euclidean, Chebyshev, Cityblock

Neighborhood.KDTree(D::AbstractDataset, metric::Metric = Euclidean(); kwargs...) =
KDTree(D.data, metric; kwargs...)
KDTree(vec(D), metric; kwargs...)

# Convenience extensions for ::Dataset in bulksearches
for f (:bulkisearch, :bulksearch)
Expand Down
1 change: 1 addition & 0 deletions src/timeseries.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Extensions of the `Dataset` functions for timeseries
"""
Timeseries = AbstractVector{<:Real}
A `Union` type representing timeseries in JuliaDynamics packages.
"""
const Timeseries = AbstractVector{<:Real}
Expand Down

0 comments on commit 6fc0873

Please sign in to comment.