Skip to content

Commit

Permalink
Update dependencies and example fix
Browse files Browse the repository at this point in the history
  • Loading branch information
janbruedigam committed Mar 20, 2024
1 parent 6e26a13 commit 78bc13d
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion DojoEnvironments/src/environments/cartpole_dqn.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 6 additions & 6 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
14 changes: 7 additions & 7 deletions examples/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
8 changes: 4 additions & 4 deletions test/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 78bc13d

Please sign in to comment.