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

Rules import fails if small decimals use "e" notation #258

Open
bethac07 opened this issue Mar 23, 2018 · 0 comments
Open

Rules import fails if small decimals use "e" notation #258

bethac07 opened this issue Mar 23, 2018 · 0 comments
Labels

Comments

@bethac07
Copy link
Member

Working with a user running stable 2.2.1 who had the following rule as part of a training, he kept being unable to transfer rules from one data set to another if and only if this rule was part of the set.

IF (NonOverlappingWorms_Intensity_MinIntensity_OrigRed > 0.0078431367874100006, [-1.0000009685764013, -1.0000009685764013, 1.0000009685764013], [4.6566139833006819e-09, -4.6566139833006819e-09, -1.0000002579764147])

Changing the second bracket to [0.000000004, -0.000000004, -1.0000002579764147] works, making me think it's the 4.__e-09 notation that's the problem. CPA either shouldn't write it that way or should parse it correctly.

@bethac07 bethac07 added the Bug label Mar 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant