lis-epfl / robogen

RoboGen - Robot generation through artificial evolution
http://www.robogen.org
GNU General Public License v3.0
27 stars 16 forks source link

replaced std::atof #62

Open aliceconcordel opened 8 years ago

aliceconcordel commented 8 years ago

Replaced std::atof with ParsingUtils::parse_float and ParsingUtils::parse_double to avoid dependency on locale

This uses istringstream to parse the string to float which depends on the global locale compared to atof which depends on the local locale (see here).

this fixes #53