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(
|
||||
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,
|
||||
|
|
Loading…
Reference in a new issue