Commit ba825191 authored by Alexis Brenon's avatar Alexis Brenon
Browse files

馃殤 Fix experience pool history

parent 309f4d21
......@@ -119,9 +119,9 @@ function class:__init(args, dump)
end
self.pushed_pools = dump.pushed_pools or {}
self.history_length = dump.history_length or 1
self.history_type = dump.history_type or "linear"
self.history_spacing = dump.history_spacing or 1
self.history_length = args.history_length or 1
self.history_type = args.history_type or "linear"
self.history_spacing = args.history_spacing or 1
self.history_offsets = self:_compute_history_offsets()
self.history_stacked_state_size = self.nil_state:size():totable()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment