From 78bc13d1914358163460d518e351a1939ccf22cb Mon Sep 17 00:00:00 2001 From: Jan Bruedigam Date: Wed, 20 Mar 2024 12:45:43 +0100 Subject: [PATCH] Update dependencies and example fix --- DojoEnvironments/src/environments/cartpole_dqn.jl | 2 +- Project.toml | 12 ++++++------ examples/Project.toml | 14 +++++++------- test/Project.toml | 8 ++++---- 4 files changed, 18 insertions(+), 18 deletions(-) diff --git a/DojoEnvironments/src/environments/cartpole_dqn.jl b/DojoEnvironments/src/environments/cartpole_dqn.jl index 62a44d67..04219d3b 100644 --- a/DojoEnvironments/src/environments/cartpole_dqn.jl +++ b/DojoEnvironments/src/environments/cartpole_dqn.jl @@ -44,7 +44,7 @@ function DojoEnvironments.state_map(::CartpoleDQN, state) return state end -function DojoEnvironments.input_map(::CartpoleDQN, input::AbstractVector) +function DojoEnvironments.input_map(::CartpoleDQN, input::Real) input = [input;0] # only the cart is actuated return input end diff --git a/Project.toml b/Project.toml index 630ff8fa..c5ec31f3 100644 --- a/Project.toml +++ b/Project.toml @@ -28,14 +28,14 @@ Colors = "<0.12.10, 0.12.10" CoordinateTransformations = "<0.6.3, 0.6.3" DocStringExtensions = "<0.9.3, 0.9.3" FFMPEG = "0.4.0, 0.4.1" -FiniteDiff = "2.0, 2.21" -GeometryBasics = "<0.4.9, 0.4.9" +FiniteDiff = "2.0, 2.23" +GeometryBasics = "<0.4.10, 0.4.10" GraphBasedSystems = "1.0, 1.2" LaTeXStrings = "1.3, 1.3" LightXML = "<0.9.0, 0.9.0" -MeshCat = "<0.16.0, 0.16.0" +MeshCat = "<0.16.0, 0.16.1" Meshing = "<0.6.0, 0.6.0" Polyhedra = "<0.7.6, 0.7.6" -Quaternions = "0.5.2, 0.7.0, 0.7.4" -StaticArrays = "1.2, 1.6" -julia = "1.6, 1.9" +Quaternions = "0.5.2, 0.7.0, 0.7.6" +StaticArrays = "1.2, 1.9" +julia = "1.6, 1.10" diff --git a/examples/Project.toml b/examples/Project.toml index c4051bf6..183e9deb 100644 --- a/examples/Project.toml +++ b/examples/Project.toml @@ -15,14 +15,14 @@ StableRNGs = "860ef19b-820b-49d6-a774-d7a799459cd3" Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2" [compat] -ClosedIntervals = "<0.3.0, 0.3.0" -ControlSystemsBase = "1.0, 1.8" +ClosedIntervals = "<0.3.1, 0.3.1" +ControlSystemsBase = "1.0, 1.10" Dojo = "<0.7.3, 0.7.3" DojoEnvironments = "<0.5.3, 0.5.3" -Flux = "<0.13.14, 0.13.14" +Flux = "<0.13.17, 0.13.17" ForwardDiff = "<0.10.36, 0.10.36" -JLD2 = "<0.4.33, 0.4.33" -Literate = "2.0, 2.14" -Plots = "1.0, 1.38" +JLD2 = "<0.4.46, 0.4.46" +Literate = "2.0, 2.16" +Plots = "1.0, 1.40" ReinforcementLearning = "0.10.0, 0.10.2" -StableRNGs = "1.0, 1.0" +StableRNGs = "1.0, 1.0" \ No newline at end of file diff --git a/test/Project.toml b/test/Project.toml index 830408ed..ebaf3c9e 100644 --- a/test/Project.toml +++ b/test/Project.toml @@ -12,9 +12,9 @@ StaticArrays = "90137ffa-7385-5640-81b9-e52037218182" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" [compat] -BenchmarkTools = "<1.3, 1.3" -FiniteDiff = "2.0, 2.21" +BenchmarkTools = "<1.5, 1.5" +FiniteDiff = "2.0, 2.23" ForwardDiff = "0.10.19, 0.10.36" -Rotations = "1.3, 1.5" +Rotations = "1.3, 1.5, 1.6, 1.7" SafeTestsets = "0.0.1, 0.0.1" -StaticArrays = "1.2, 1.6" +StaticArrays = "1.2, 1.6, 1.7, 1.8, 1.9"