From 3e507f443bd019b93567e6abdd87a6c4b0c110ea Mon Sep 17 00:00:00 2001
From: Martin Beseda <martin.beseda@vsb.cz>
Date: Wed, 20 Mar 2019 00:48:51 +0100
Subject: [PATCH] ENH: Added a default value parameter to the NeuronBiased
 constructor because of Boost.serialization.

---
 src/Neuron/NeuronBiased.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Neuron/NeuronBiased.h b/src/Neuron/NeuronBiased.h
index b8ca40ec..a8e10422 100644
--- a/src/Neuron/NeuronBiased.h
+++ b/src/Neuron/NeuronBiased.h
@@ -30,7 +30,7 @@ namespace lib4neuro {
          * f(x) = x + b
          * @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
-- 
GitLab