-
Notifications
You must be signed in to change notification settings - Fork 2
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
Cmake modernizations, update .clangformat #1
base: master
Are you sure you want to change the base?
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.
Thank you for the PR
* Here you can set the size of the population and the random seed used internally. | ||
* \note `populationSize` must be greater than zero, otherwise Undefined Behavior. | ||
* Here you can set the size of the population and the random seed used | ||
* internally. \note `populationSize` must be greater than zero, otherwise |
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.
are we able to keep indentation for doxygen comments?
- Indentation should be aligned with the first line
\command
should be prefixed by newline
*/ | ||
void initialize(const std::size_t populationSize, const SeedT rndSeed = DefaultSeed); | ||
void initialize(const std::size_t populationSize, |
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.
nit: why is breaking line?
@@ -104,8 +113,9 @@ class EvolutionNet { | |||
}; | |||
|
|||
template <int NumInput, int NumOutput, bool Bias, typename ParamConfig> | |||
void EvolutionNet<NumInput, NumOutput, Bias, ParamConfig>::initialize(const std::size_t populationSize, | |||
const SeedT rndSeed) { | |||
void EvolutionNet<NumInput, NumOutput, Bias, ParamConfig>::initialize( |
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.
I would prefer having first argument on the same line. we can adjust the clang format I guess
Changes: