1
0
Fork 0
mirror of https://gitlab.rlp.net/mobitar/ReCo.jl.git synced 2024-11-08 22:21:08 +00:00

Fixed constructor

This commit is contained in:
Mo8it 2022-01-18 02:25:28 +01:00
parent a31b6ed2a0
commit e395e14fa1

View file

@ -20,12 +20,12 @@ struct EnvHelperSharedProps{H<:AbstractHook}
function EnvHelperSharedProps( function EnvHelperSharedProps(
env::Env, env::Env,
agent::Agent, agent::Agent,
hook::AbstractHook, hook::H,
n_steps_before_actions_update::Int64, n_steps_before_actions_update::Int64,
goal_gyration_tensor_eigvals_ratio::Float64, goal_gyration_tensor_eigvals_ratio::Float64,
n_particles::Int64, n_particles::Int64,
) ) where {H<:AbstractHook}
return new( return new{H}(
env, env,
agent, agent,
hook, hook,