-
Notifications
You must be signed in to change notification settings - Fork 10
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
Feature/dlw components too #46
Conversation
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.
Alright. So, there are a few notes here.
Terms marked [clang-tidy]
mean that that tool told me about these. If they were low priority, I noted the first time they came up only so that you can tell me if you want to persist in future reviews with these checks. The recommended ones I noted down every time they came up.
There were two concerning places. First, there was using the cosines
in the Python to set the energy values. The second was using an array after it had been move
d. Addressing those (or telling me I'm wrong) are what block approval.
The rest is suggestions and entirely up to you.
|
||
// local includes | ||
#include "ACEtk/block/KalbachMannDistributionData.hpp" | ||
#include "views.hpp" |
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 - low priority]
Suggest sorting includes alphabetically.
(I note this is consistent with most other implementations - will only mention here)
namespace block { | ||
|
||
void wrapKalbachMannDistributionData( python::module& module, | ||
python::module& ) { |
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 - recommended]
Add /* unused */
or equivalent for unused arguments.
(I note this is consistent with most other implementations - will only mention here)
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.
but later
src/ACEtk/block/details/TabulatedProbabilityDistribution/src/generateXSS.hpp
Show resolved
Hide resolved
@cjosey fix/review-1 has been pushed and contains the changes mentioned above. In addition, I checked every generateXSS function for all blocks and made const/const auto/static_cast changes as required. Seems my code is just plain sloppy :-) |
All components have been adequately addressed in discussions. Here is the final
When we get near the end of this project, we can do a final pass with this. Future reviews will be done with this configuration. |
Added components from the DLW block:
As usual, some stuff comes first ;-)