Skip to content

Commit b9dd697

Browse files
committed
Changed DataStructures -> OrderedCollections (was not yet done eyerywhere and not reflected in Project.toml)
1 parent b9be72d commit b9dd697

File tree

6 files changed

+22
-22
lines changed

6 files changed

+22
-22
lines changed

Manifest.toml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ uuid = "0dad84c5-d112-42e6-8d28-ef12dabb789f"
55

66
[[ArrayInterface]]
77
deps = ["IfElse", "LinearAlgebra", "Requires", "SparseArrays", "Static"]
8-
git-tree-sha1 = "045ff5e1bc8c6fb1ecb28694abba0a0d55b5f4f5"
8+
git-tree-sha1 = "a71d224f61475b93c9e196e83c17c6ac4dedacfa"
99
uuid = "4fba245c-0d91-5ea0-9b3e-6abc04ee57a9"
10-
version = "3.1.17"
10+
version = "3.1.18"
1111

1212
[[Artifacts]]
1313
uuid = "56f22d72-fd6d-98f1-02f0-08ddc0907c33"
@@ -23,9 +23,9 @@ version = "0.5.1"
2323

2424
[[ChainRulesCore]]
2525
deps = ["Compat", "LinearAlgebra", "SparseArrays"]
26-
git-tree-sha1 = "0b0aa9d61456940511416b59a0e902c57b154956"
26+
git-tree-sha1 = "f53ca8d41e4753c41cdafa6ec5f7ce914b34be54"
2727
uuid = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
28-
version = "0.10.12"
28+
version = "0.10.13"
2929

3030
[[Compat]]
3131
deps = ["Base64", "Dates", "DelimitedFiles", "Distributed", "InteractiveUtils", "LibGit2", "Libdl", "LinearAlgebra", "Markdown", "Mmap", "Pkg", "Printf", "REPL", "Random", "SHA", "Serialization", "SharedArrays", "Sockets", "SparseArrays", "Statistics", "Test", "UUIDs", "Unicode"]
@@ -55,9 +55,9 @@ version = "1.7.0"
5555

5656
[[DataFrames]]
5757
deps = ["Compat", "DataAPI", "Future", "InvertedIndices", "IteratorInterfaceExtensions", "LinearAlgebra", "Markdown", "Missings", "PooledArrays", "PrettyTables", "Printf", "REPL", "Reexport", "SortingAlgorithms", "Statistics", "TableTraits", "Tables", "Unicode"]
58-
git-tree-sha1 = "1dadfca11c0e08e03ab15b63aaeda55266754bad"
58+
git-tree-sha1 = "a19645616f37a2c2c3077a44bc0d3e73e13441d7"
5959
uuid = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
60-
version = "1.2.0"
60+
version = "1.2.1"
6161

6262
[[DataStructures]]
6363
deps = ["Compat", "InteractiveUtils", "OrderedCollections"]
@@ -325,10 +325,10 @@ version = "0.3.0+0"
325325
uuid = "ea8e919c-243c-51af-8825-aaa63cd721ce"
326326

327327
[[SLEEFPirates]]
328-
deps = ["IfElse", "Static", "VectorizationBase"]
329-
git-tree-sha1 = "da6d214ffc85b1292f300649ef86d3c4f9aaf25d"
328+
deps = ["IfElse", "Libdl", "VectorizationBase"]
329+
git-tree-sha1 = "e262a4909eda52b6d9f1d1f0eac6537d8267a4b5"
330330
uuid = "476501e8-09a2-5ece-8869-fb82de89a1fa"
331-
version = "0.6.22"
331+
version = "0.6.19"
332332

333333
[[Serialization]]
334334
uuid = "9e88b42a-f829-5b0c-bbe9-9e923198166b"
@@ -358,9 +358,9 @@ version = "1.5.1"
358358

359359
[[Static]]
360360
deps = ["IfElse"]
361-
git-tree-sha1 = "2740ea27b66a41f9d213561a04573da5d3823d4b"
361+
git-tree-sha1 = "62701892d172a2fa41a1f829f66d2b0db94a9a63"
362362
uuid = "aedffcd0-7271-4cad-89d0-dc628f76c6d3"
363-
version = "0.2.5"
363+
version = "0.3.0"
364364

365365
[[StaticArrays]]
366366
deps = ["LinearAlgebra", "Random", "Statistics"]
@@ -432,9 +432,9 @@ version = "1.9.0"
432432

433433
[[VectorizationBase]]
434434
deps = ["ArrayInterface", "Hwloc", "IfElse", "Libdl", "LinearAlgebra", "Static"]
435-
git-tree-sha1 = "4e371140521702bddc350ecd5ba1ab25f9797dc8"
435+
git-tree-sha1 = "ddeac5d8aad03c17bdc8efd45246e82fc52d12f4"
436436
uuid = "3d5dd08c-fd9d-11e8-17fa-ed2836048c2f"
437-
version = "0.20.21"
437+
version = "0.20.24"
438438

439439
[[Zlib_jll]]
440440
deps = ["Libdl"]

Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,18 @@ version = "0.7.2-dev"
55

66
[deps]
77
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
8-
DataStructures = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8"
98
DiffRules = "b552c78f-8df3-52c6-915a-8e097449b14b"
109
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
1110
Measurements = "eff96d63-e80a-5855-80a2-b1b0885c5ab7"
1211
MonteCarloMeasurements = "0987c9cc-fe09-11e8-30f0-b96dd679fdca"
12+
OrderedCollections = "bac558e1-5e72-5ebc-8fee-abe8a469f55d"
1313
Unitful = "1986cc42-f94f-5a68-af5c-568840ba703d"
1414

1515
[compat]
1616
DataFrames = "1.2, 1.1, 0.22, 0.21, 0.20, 0.19"
17-
DataStructures = "0.18, 0.17"
1817
DiffRules = "1.0"
1918
Measurements = "2.6, 2.5, 2.4, 2.3"
2019
MonteCarloMeasurements = "0.10, 0.9"
20+
OrderedCollections = "1.4, 1.3"
2121
Unitful = "1.6, 1.5, 1.4, 1.3"
2222
julia = "1.6, 1.5"

docs/make.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ makedocs(
88
pages = [
99
"Home" => "index.md",
1010
"Tutorial" => "Tutorial.md",
11-
"Data Structures" => "DataStructures.md",
11+
"Data Structures" => "OrderedCollections.md",
1212
"Equation Sorting" => "EquationSorting.md",
1313
"Equation Reduction" => "EquationReduction.md",
1414
"Transformation to ODE System" => "TransformationToODEs.md",

src/EquationAndStateInfo.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# Provide information about the structure of the ODE or DAE equations.
66

77
import DataFrames
8-
import DataStructures
8+
import OrderedCollections
99
using LinearAlgebra
1010

1111
export StateCategory, XD, XALG, XLAMBDA, XMUE
@@ -543,7 +543,7 @@ mutable struct EquationInfo
543543
nx::Int # = length(x) or -1 if not yet known
544544
x_infoByIndex::Vector{Int} # i = x_infoByIndex[j] -> x_info[i]
545545
# or empty vector, if not yet known.
546-
x_dict::DataStructures.OrderedDict{String,Int} # x_dict[x_name] returns the index of x_name with respect to x_info
546+
x_dict::OrderedCollections.OrderedDict{String,Int} # x_dict[x_name] returns the index of x_name with respect to x_info
547547
defaultParameterAndStartValues::Union{AbstractDict,Nothing}
548548
ResultType
549549
ResultTypeHasFloatType::Bool
@@ -565,7 +565,7 @@ EquationInfo(; status = MANUAL,
565565
EquationInfo(status, ode, nz, x_info,
566566
residualCategories, linearEquations,
567567
vSolvedWithFixedTrue, nx, x_infoByIndex,
568-
DataStructures.OrderedDict{String,Int}(),
568+
OrderedCollections.OrderedDict{String,Int}(),
569569
defaultParameterAndStartValues,
570570
ResultType, ResultTypeHasFloatType)
571571

src/LinearIntegerEquations.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ argument `vProperty` of [`simplifyLinearIntegerEquations`](@ref):
2929
[DLR - Institute of System Dynamics and Control](https://www.dlr.de/sr/en)
3030
=#
3131

32-
import DataStructures
32+
import OrderedCollections
3333

3434
export simplifyLinearIntegerEquations!
3535
export printSimplifiedLinearIntegerEquations
@@ -567,7 +567,7 @@ function simplifyLinearIntegerEquations!(G, eInt::Vector{Int}, GcInt, Avar::Vect
567567
printLinearIntegerEquations(Gint, eInt, GcInt, var_name)
568568

569569
println(" Unknown variables:")
570-
unknowns = collect(DataStructures.OrderedSet([v for e in Gint for v in e]))
570+
unknowns = collect(OrderedCollections.OrderedSet([v for e in Gint for v in e]))
571571
for v in unknowns
572572
print(lpad(string(v),8), ": ", var_name(v))
573573
if v in vShouldBeSolved

src/StateSelection.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export StateSelectionFunctions
2626
export showCodeWithoutComments
2727

2828

29-
#using DataStructures
29+
#using OrderedCollections
3030
using ModiaBase
3131
using ModiaBase.BLTandPantelides
3232

0 commit comments

Comments
 (0)