-
Notifications
You must be signed in to change notification settings - Fork 734
Fixes div by zero. Adds FPE to tests. #2093
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
base: master
Are you sure you want to change the base?
Conversation
5d72ffd to
df7aa5d
Compare
|
Can someone please approve workflows? Also, I've addressed the MR feedback, I think this is ready to get merged. |
|
Hello, this MR solves real bugs, and I have revised the MR according to feedback. Can one of you please approve the MR? Thanks. |
|
Ping |
To catch FP exceptions, build as: $ cmake -D OPENVDB_TESTS_FPE=ON ... And to get callstacks in debugger, use: $ gdb --args ./openvdb/openvdb/unittest/vdb_test --gtest_catch_exceptions=0 This toggle will let you reproduce issues AcademySoftwareFoundation#2090 AcademySoftwareFoundation#2091 AcademySoftwareFoundation#2092 Signed-off-by: Bram Stolk <b.stolk@gmail.com>
FIXES AcademySoftwareFoundation#2091 Signed-off-by: Bram Stolk <b.stolk@gmail.com>
danrbailey
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, thank you for making those changes. We'll try and get this merged in soon.
This MR adds a toggle to run the vbe_test program with FP exceptions enabled.
This MR also fixes issues #2090 #2091 #2092 that were found with this facility:This MR also fixes a division by zero.