Skip to content
This repository was archived by the owner on May 6, 2021. It is now read-only.

Commit c36441b

Browse files
Format .jl files (#57)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 46bfa4d commit c36441b

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

src/environments/atari.jl

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -83,18 +83,19 @@ function AtariEnv(;
8383
screens =
8484
(fill(typemin(Cuchar), observation_size), fill(typemin(Cuchar), observation_size))
8585

86-
env = AtariEnv{grayscale_obs,terminal_on_life_loss,grayscale_obs ? 2 : 3,typeof(seed[1])}(
87-
ale,
88-
screens,
89-
actions,
90-
action_space,
91-
observation_space,
92-
noop_max,
93-
frame_skip,
94-
0.0f0,
95-
lives(ale),
96-
seed[1],
97-
)
86+
env =
87+
AtariEnv{grayscale_obs,terminal_on_life_loss,grayscale_obs ? 2 : 3,typeof(seed[1])}(
88+
ale,
89+
screens,
90+
actions,
91+
action_space,
92+
observation_space,
93+
noop_max,
94+
frame_skip,
95+
0.0f0,
96+
lives(ale),
97+
seed[1],
98+
)
9899
finalizer(env) do x
99100
ALE_del(x.ale)
100101
end

0 commit comments

Comments
 (0)