novelty-search-cpp icon indicating copy to clipboard operation
novelty-search-cpp copied to clipboard

rtneat always take hardmaze even when pass in medium maze.

Open khieu opened this issue 7 years ago • 0 comments

Hello, I am using novelty search in this project and there seems to be a bug on neatmain.cpp. When running rtneat program with param, the README suggest that user can call ./rtneat maze.ne <mazefilename> I look into the code and there seems to be a small bug at https://github.com/jal278/novelty-search-cpp/blob/master/neatmain.cpp#L43. The if clause assigns filename to argv[3] which I think should be argv[2] (medium_maze.txt or any other map). Thus it ends up always use the default map which is the hard_maze.txt. Is there any chance you can confirm this bug ? If it's an actual bug I can open a pull request to fix it.

Thanks, Hieu.

khieu avatar Jun 06 '17 20:06 khieu