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

Fix reading of parameter from traineddata normproto component and make function independent of locale #2430

Merged
merged 2 commits into from
May 12, 2019

Commits on May 12, 2019

  1. Fix reading of parameter from traineddata normproto component

    The NonEssential parameter was wrongly derived from linear_token instead
    of essential_token and therefore always set to true.
    
    Signed-off-by: Stefan Weil <sw@weilnetz.de>
    stweil committed May 12, 2019
    Configuration menu
    Copy the full SHA
    c76ceaf View commit details
    Browse the repository at this point in the history
  2. Replace sscanf by std::istringstream

    Using std::istringstream allows conversion of string to float
    independent of the current locale setting.
    
    Signed-off-by: Stefan Weil <sw@weilnetz.de>
    stweil committed May 12, 2019
    Configuration menu
    Copy the full SHA
    5d92fbf View commit details
    Browse the repository at this point in the history