I had trouble running any of the example, and it was caused just by bad reading of the config files, specifically decimal point/comma issue. Czech locale uses decimal commas.
My opinion is that independently of system settings, the library should expect decimal point in numbers. Most scientific software I know works this way.
By the way, for the time being I find/replaced all the config files and it works perfectly – thank you very much for writing and publishing this library!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for pointing this out, I was not even aware that the "atof" function uses the system locale. The library now automatically switches to the standard "C" locale before parsing the config.
Last edit: Bastian Goldluecke 2013-05-17
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I had trouble running any of the example, and it was caused just by bad reading of the config files, specifically decimal point/comma issue. Czech locale uses decimal commas.
My opinion is that independently of system settings, the library should expect decimal point in numbers. Most scientific software I know works this way.
By the way, for the time being I find/replaced all the config files and it works perfectly – thank you very much for writing and publishing this library!
Thanks for pointing this out, I was not even aware that the "atof" function uses the system locale. The library now automatically switches to the standard "C" locale before parsing the config.
Last edit: Bastian Goldluecke 2013-05-17