ElegantRL icon indicating copy to clipboard operation
ElegantRL copied to clipboard

Duplicate class in replay_buffer.py

Open jimmydengpeng opened this issue 2 years ago • 1 comments

There are two classes with same name ReplayBufferList within file elegantrl / train / replay_buffer.py in line 275 and 309.

They contain same named methods, but slightly differ in contents. However, the latter one will be used in runtime.

Which one is correct or expected?

jimmydengpeng avatar Sep 16 '22 09:09 jimmydengpeng

@jimmydengpeng Thanks for your reminder! The duplicated class has been fixed in Pull Request #219. Please let us know if you have any feedback or suggestions :)

shixun404 avatar Sep 17 '22 04:09 shixun404