-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use stringstream instead of stod to work around locale issues. (#42)
* Use stringstream instead of stod to work around locale issues. Signed-off-by: Chris Lalancette <[email protected]> * Use imbue to always use the "classic" locale. Signed-off-by: Chris Lalancette <[email protected]> * Make a strToDouble facility in the utils.h header. This will be useful elsewhere (i.e. urdfdom). Signed-off-by: Chris Lalancette <[email protected]> * Add some additional includes. Signed-off-by: Chris Lalancette <[email protected]> * Add in an actual error message to the strToDouble throw. Signed-off-by: Chris Lalancette <[email protected]>
- Loading branch information
1 parent
ed597eb
commit e7e0972
Showing
2 changed files
with
27 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters