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:
parent
a31b6ed2a0
commit
e395e14fa1
1 changed files with 3 additions and 3 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue