ugo-nama-kun / gym_torcs

MIT License
408 stars 163 forks source link

fix argument to isnan() in simu.cpp #21

Closed billyzs closed 7 years ago

billyzs commented 7 years ago

Hi, I was trying to compile vtorcs-rgb on Ubuntu 16.04 but encountered an error about argument to the isnan() function. Apparently it expects a float, so I quickly tried casting car->ctrl-gear to float to avoid compile errors and it compiled just fine for me.

ugo-nama-kun commented 7 years ago

Thank you for your contribution!

billyzs commented 7 years ago

No problem! A few others also pointed out the same thing.

On Feb 8, 2017 11:55 AM, "naoto yoshida" notifications@github.com wrote:

Thank you for your contribution!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ugo-nama-kun/gym_torcs/pull/21#issuecomment-278387925, or mute the thread https://github.com/notifications/unsubscribe-auth/AFOqLCxvKTj9d1RY2hdBD4at6aq7eS5fks5rafNrgaJpZM4LwZzk .