-
Notifications
You must be signed in to change notification settings - Fork 25
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
🐛 Include x_min and y_min in OpDomain and check non-emptyness of vector before accessing element. #407
Conversation
clang-tidy review says "All clean, LGTM! 👍" |
clang-tidy review says "All clean, LGTM! 👍" |
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.
Many thanks for your time and effort looking into this. I'm not sure I understand what's going on, and require some further explanations, if you don't mind.
include/fiction/algorithms/simulation/sidb/operational_domain.hpp
Outdated
Show resolved
Hide resolved
include/fiction/algorithms/simulation/sidb/operational_domain.hpp
Outdated
Show resolved
Hide resolved
include/fiction/algorithms/simulation/sidb/operational_domain.hpp
Outdated
Show resolved
Hide resolved
clang-tidy review says "All clean, LGTM! 👍" |
clang-tidy review says "All clean, LGTM! 👍" |
clang-tidy review says "All clean, LGTM! 👍" |
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.
Many thanks for the adjustments. Just some comments on consistency.
include/fiction/algorithms/simulation/sidb/operational_domain.hpp
Outdated
Show resolved
Hide resolved
include/fiction/algorithms/simulation/sidb/operational_domain.hpp
Outdated
Show resolved
Hide resolved
include/fiction/algorithms/simulation/sidb/operational_domain.hpp
Outdated
Show resolved
Hide resolved
clang-tidy review says "All clean, LGTM! 👍" |
clang-tidy review says "All clean, LGTM! 👍" |
clang-tidy review says "All clean, LGTM! 👍" |
clang-tidy review says "All clean, LGTM! 👍" |
clang-tidy review says "All clean, LGTM! 👍" |
clang-tidy review says "All clean, LGTM! 👍" |
clang-tidy review says "All clean, LGTM! 👍" |
clang-tidy review says "All clean, LGTM! 👍" |
1 similar comment
clang-tidy review says "All clean, LGTM! 👍" |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #407 +/- ##
==========================================
- Coverage 98.34% 98.34% -0.01%
==========================================
Files 210 210
Lines 28040 28091 +51
Branches 1280 1285 +5
==========================================
+ Hits 27576 27625 +49
- Misses 464 466 +2
Continue to review full report in Codecov by Sentry.
|
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.
Many thanks!! 🙏
Description
This PR fixes a non-deterministic failure of the operational domain unit tests on Ubuntu and Windows. This is fixed by checking that
moore_neighborhood
is not empty before selecting the front step point. It also ensures thatx_min
andy_min
are part of the parameter space that is checked for operation.Checklist: