Skip to content

Commit 3b6ac40

Browse files
committed
fix test
1 parent 5019b7f commit 3b6ac40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ReinforcementLearningCore/src/utils/networks.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ function (model::GaussianNetwork)(state, action)
112112
x = model.pre(state)
113113
μ, raw_σ = model.μ(x), model.σ(x)
114114
σ = clamp.(raw_σ, model.min_σ, model.max_σ)
115-
logp_π = diagnormlogpdf(μ, σ, inversesquash(model.squash).(action)) .+ logpdfcorrection(z, typeof(model.squash))
115+
logp_π = diagnormlogpdf(μ, σ, inversesquash(model.squash).(action)) .+ logpdfcorrection(inversesquash(model.squash).(action), typeof(model.squash))
116116
return logp_π
117117
end
118118

0 commit comments

Comments
 (0)