-
Notifications
You must be signed in to change notification settings - Fork 28
🐛 Exclude ClusterComplete from simulation engine selection when ALGLIB is disabled #700
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
Conversation
Signed-off-by: GitHub Actions <actions@github.com>
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.
clang-tidy made some suggestions
include/fiction/algorithms/simulation/sidb/critical_temperature.hpp
Outdated
Show resolved
Hide resolved
include/fiction/algorithms/simulation/sidb/sidb_simulation_engine.hpp
Outdated
Show resolved
Hide resolved
Signed-off-by: GitHub Actions <actions@github.com>
Signed-off-by: GitHub Actions <actions@github.com>
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.
Thanks a lot! It looks good the way it is, now that all the work is done already. Though I think it would have been an easier fix and perhaps just as maintainable to only put
#else // FICTION_ALGLIB_ENABLED
assert(false && "ALGLIB must be enabled if ClusterComplete is to be used");
#endif // FICTION_ALGLIB_ENABLED
on the place where it was missing. Although, it might not help when in Release mode, I guess that is the problem since a user won't be getting any error message then.
In short, thanks a lot, looks good!
include/fiction/algorithms/simulation/sidb/sidb_simulation_engine.hpp
Outdated
Show resolved
Hide resolved
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #700 +/- ##
==========================================
- Coverage 98.20% 98.20% -0.01%
==========================================
Files 255 255
Lines 42229 42229
Branches 1949 1948 -1
==========================================
- Hits 41471 41469 -2
- Misses 758 760 +2
... and 2 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
Description
This PR ensures that ClusterComplete cannot be selected as the simulation engine when ALGLIB is disabled.
Checklist: