1
0
Fork 0
mirror of https://gitlab.rlp.net/mobitar/ReCo.jl.git synced 2024-12-21 00:51:21 +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(
env::Env,
agent::Agent,
hook::AbstractHook,
hook::H,
n_steps_before_actions_update::Int64,
goal_gyration_tensor_eigvals_ratio::Float64,
n_particles::Int64,
)
return new(
) where {H<:AbstractHook}
return new{H}(
env,
agent,
hook,