Skip to content
Snippets Groups Projects
Commit 3e507f44 authored by Martin Beseda's avatar Martin Beseda
Browse files

ENH: Added a default value parameter to the NeuronBiased constructor because...

ENH: Added a default value parameter to the NeuronBiased constructor because of Boost.serialization.
parent eb75c246
No related branches found
No related tags found
No related merge requests found
...@@ -30,7 +30,7 @@ namespace lib4neuro { ...@@ -30,7 +30,7 @@ namespace lib4neuro {
* f(x) = x + b * f(x) = x + b
* @param[in] b Bias * @param[in] b Bias
*/ */
LIB4NEURO_API explicit NeuronBiased( double b ); LIB4NEURO_API explicit NeuronBiased( double b = 0 );
/** /**
* Evaluates 'x + this->bias' and stores the result into the 'state' property * Evaluates 'x + this->bias' and stores the result into the 'state' property
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment