Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
HenriDeh committed Oct 10, 2023
1 parent 5019b7f commit 3b6ac40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ReinforcementLearningCore/src/utils/networks.jl
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ function (model::GaussianNetwork)(state, action)
x = model.pre(state)
μ, raw_σ = model.μ(x), model.σ(x)
σ = clamp.(raw_σ, model.min_σ, model.max_σ)
logp_π = diagnormlogpdf(μ, σ, inversesquash(model.squash).(action)) .+ logpdfcorrection(z, typeof(model.squash))
logp_π = diagnormlogpdf(μ, σ, inversesquash(model.squash).(action)) .+ logpdfcorrection(inversesquash(model.squash).(action), typeof(model.squash))
return logp_π
end

Expand Down

0 comments on commit 3b6ac40

Please sign in to comment.