Skip to content

Commit baab41e

Browse files
chore: up DifferentialEquations version in docs, format
chore: up DifferentialEquations version in docs, format
2 parents 9f1186f + 0ae61b3 commit baab41e

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

docs/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91"
1212

1313
[compat]
1414
CellularAutomata = "0.0.2"
15-
DifferentialEquations = "7.15.0"
15+
DifferentialEquations = "7.16.1"
1616
Documenter = "1"
1717
OrdinaryDiffEq = "6"
1818
Plots = "1"

src/esn/esn_inits.jl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1187,7 +1187,8 @@ function low_connectivity(rng::AbstractRNG, ::Type{T}, dims::Integer...;
11871187
end
11881188

11891189
function build_cycle(::Val{false}, rng::AbstractRNG, ::Type{T}, res_size::Int;
1190-
in_degree::Integer=1, radius::Number=T(1.0), cut_cycle::Bool=false) where {T <: Number}
1190+
in_degree::Integer=1, radius::Number=T(1.0), cut_cycle::Bool=false) where {T <:
1191+
Number}
11911192
reservoir_matrix = DeviceAgnostic.zeros(rng, T, res_size, res_size)
11921193
for idx in 1:res_size
11931194
selected = randperm(rng, res_size)[1:in_degree]
@@ -1200,7 +1201,8 @@ function build_cycle(::Val{false}, rng::AbstractRNG, ::Type{T}, res_size::Int;
12001201
end
12011202

12021203
function build_cycle(::Val{true}, rng::AbstractRNG, ::Type{T}, res_size::Int;
1203-
in_degree::Integer=1, radius::Number=T(1.0), cut_cycle::Bool=false) where {T <: Number}
1204+
in_degree::Integer=1, radius::Number=T(1.0), cut_cycle::Bool=false) where {T <:
1205+
Number}
12041206
reservoir_matrix = DeviceAgnostic.zeros(rng, T, res_size, res_size)
12051207
perm = randperm(rng, res_size)
12061208
for idx in 1:(res_size - 1)

0 commit comments

Comments
 (0)