Skip to content

Commit be6e3b3

Browse files
author
Jeremiah Lewis
committed
fix struct name
1 parent 37fa1f8 commit be6e3b3

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

src/ReinforcementLearningCore/src/policies/learners/tabular_approximator.jl

+3-3
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,15 @@ end
3535
RLCore.forward(
3636
app::Approximator{R,O},
3737
s::I,
38-
) where {R<:AbstractVector,O,I<:Integer} = @views app.table[s]
38+
) where {R<:AbstractVector,O,I<:Integer} = @views app.model[s]
3939

4040
RLCore.forward(
4141
app::Approximator{R,O},
4242
s::I,
43-
) where {R<:AbstractArray,O,I<:Integer} = @views app.table[:, s]
43+
) where {R<:AbstractArray,O,I<:Integer} = @views app.model[:, s]
4444

4545
RLCore.forward(
4646
app::Approximator{R,O},
4747
s::I1,
4848
a::I2,
49-
) where {R<:AbstractArray,O,I1<:Integer,I2<:Integer} = @views app.table[a, s]
49+
) where {R<:AbstractArray,O,I1<:Integer,I2<:Integer} = @views app.model[a, s]
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
include("agent.jl")
22
include("multi_agent.jl")
3-
include("approximators.jl")
4-
include("learners.jl")
3+
include("learners/learners.jl")

0 commit comments

Comments
 (0)