Skip to content

Commit a688b90

Browse files
author
Vincent Moens
committed
amend
1 parent 9b4640a commit a688b90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

intermediate_source/dqn_with_rnn_tutorial.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@
298298
# either by passing a string or an action-spec. This allows us to use
299299
# Categorical (sometimes called "sparse") encoding or the one-hot version of it.
300300
#
301-
qval = QValueModule(action_space=env.action_spec)
301+
qval = QValueModule(spec=env.action_spec)
302302

303303
######################################################################
304304
# .. note::

0 commit comments

Comments
 (0)