-
Notifications
You must be signed in to change notification settings - Fork 7
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
get_value<int>()
and get_value<float>()
reporting floating point underflow on value 0
#366
Comments
@ARessegetesStery |
@fktn-k Thanks for sharing the fix! I haven't looked into the source code and jumped to the conclusion lol. |
@ARessegetesStery I see you forked this repository, are you trying to fix it? |
@fktn-k Oh thanks for explaining - Glad to see your insights on the problem :) someint: 1 with a |
@ARessegetesStery
someint: 1
I like it. Reasonable and intuitive. |
@ARessegetesStery |
@fktn-k |
@ARessegetesStery
Thanks for your concern, but honestly I just couldn't spare enough time for this project lol |
Hi, @ARessegetesStery. |
Hi @fktn-k |
@ARessegetesStery |
@fktn-k |
@ARessegetesStery |
Description
When querying nodes with value 0,
get_value<int>()
andget_value<float>()
will throw exception with messageIt is suspected that a prior check on whether the value is zero should be conducted
Reproduction steps
Use yaml file (e.g.
test.yaml
)and c++ code
Expected vs. actual results
Expected: reading in 0 correctly.
Actual: throwing exception "Floating point value underflow detected."
Minimal code example
No response
Error messages
No response
Compiler and operating system
g++; Windows
Library version
v0.3.8
Validation
develop
branch is used.The text was updated successfully, but these errors were encountered: