Skip to content

Commit f8952bc

Browse files
committed
chore: lower DynamicalSystemsBase compat bound to resolve Attractors conflict
1 parent 4381adc commit f8952bc

File tree

3 files changed

+19
-18
lines changed

3 files changed

+19
-18
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ StructUtils = "ec057cc2-7a8d-4b58-b3b3-92acb9f63b42"
2626
AbstractTrees = "0.4.5"
2727
AutoHashEquals = "2.2.0"
2828
DocStringExtensions = "0.9.3"
29-
DynamicalSystemsBase = "3.13.2"
29+
DynamicalSystemsBase = "3.10"
3030
Graphs = "1.12"
3131
HerbConstraints = "0.4"
3232
HerbCore = "0.3.4"

test/Project.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[deps]
22
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
3+
Attractors = "f3fd9213-ca85-4dba-9dfd-7fc91308fec7"
34
DynamicalSystemsBase = "6e36e845-645a-534a-86f2-f5d4aa5a06b4"
45
Graphs = "86223c79-3864-5bf0-83f7-82e725a168b6"
56
HerbCore = "2b23ba43-8213-43cb-b5ea-38c12b45bd45"

test/qn_test.jl

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -107,23 +107,23 @@ end
107107

108108
end
109109

110-
# @testitem "Get attractors" setup = [RandomSetup, ExampleQN] begin
111-
# using Attractors: AttractorsViaRecurrences, basins_of_attraction
112-
# qn_size = 3
113-
# max_eq_depth = 3
114-
# N = 3
115-
# domains = [1:N for _ = 1:qn_size]
116-
#
117-
# async_qn =
118-
# sample_qualitative_network(qn_size, domains, max_eq_depth; schedule = Asynchronous)
119-
# async_qn_system = create_qn_system(async_qn)
120-
#
121-
# grid = Tuple(range(0, 1) for _ = 1:qn_size)
122-
#
123-
# mapper = AttractorsViaRecurrences(async_qn_system, grid)
124-
#
125-
# basins = basins_of_attraction(mapper, grid)
126-
# end
110+
@testitem "Get attractors" setup = [RandomSetup, ExampleQN] begin
111+
using Attractors: AttractorsViaRecurrences, basins_of_attraction
112+
qn_size = 3
113+
max_eq_depth = 3
114+
N = 3
115+
domains = [1:N for _ = 1:qn_size]
116+
117+
async_qn =
118+
sample_qualitative_network(qn_size, domains, max_eq_depth; schedule = Asynchronous)
119+
async_qn_system = create_qn_system(async_qn)
120+
121+
grid = Tuple(range(0, 1) for _ = 1:qn_size)
122+
123+
mapper = AttractorsViaRecurrences(async_qn_system, grid)
124+
125+
basins = basins_of_attraction(mapper, grid)
126+
end
127127

128128
@testitem "Construct default target functions" begin
129129
lower_bound = 0

0 commit comments

Comments
 (0)