Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Always use US Locale when formatting numbers with NDArrayStrings #6537

Merged
merged 2 commits into from Oct 5, 2018

Conversation

treo
Copy link
Member

@treo treo commented Oct 5, 2018

On Systems with a locale where a , is used as a decimal separator the problem arises where Nd4j.writeTxt produces invalid JSON.

This PR changes it so always US is used as the locale when formatting arrays.

Copy link
Contributor

@AlexDBlack AlexDBlack left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@AlexDBlack AlexDBlack merged commit 1f3ea96 into master Oct 5, 2018
@AlexDBlack AlexDBlack deleted the treo_decimal_seperator_in_ndarraystrings branch October 5, 2018 10:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants