Skip to content

Commit 99f167f

Browse files
author
Jeremiah Lewis
committed
fix td
1 parent 090bf7a commit 99f167f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ReinforcementLearningZoo/src/algorithms/tabular/td_learner.jl

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ RLCore.forward(L::TDLearner, s, a) = RLCore.forward(L.approximator, s, a)
3636
function _optimise!(
3737
n::I1,
3838
γ::F,
39-
app::Approximator{<:AbstractArray},
39+
app::Approximator{Ar},
4040
s::I2,
4141
s_next::I2,
4242
a::I3,
4343
r::F,
44-
) where {I1<:Number,I2<:Number,I3<:Number,Ar<:AbstractArray,F<:AbstractFloat,O}
44+
) where {I1<:Number,I2<:Number,I3<:Number,Ar<:AbstractArray,F<:AbstractFloat}
4545
α = app.optimizer.eta
4646
Q!(app, s, s_next, a, α, r, γ)
4747
end

0 commit comments

Comments
 (0)