Skip to content
Snippets Groups Projects
Commit 8d9bb3e7 authored by Pospelov, Gennady's avatar Pospelov, Gennady
Browse files

Bugfix with uninitialised variables.

parent b557b0ab
No related branches found
No related tags found
No related merge requests found
...@@ -56,7 +56,7 @@ inline void StochasticDoubleGate::setToRandom() ...@@ -56,7 +56,7 @@ inline void StochasticDoubleGate::setToRandom()
} }
inline StochasticDoubleGate::StochasticDoubleGate(double min, double max) inline StochasticDoubleGate::StochasticDoubleGate(double min, double max)
: StochasticParameter<double>((m_min+m_max)/2.0) : StochasticParameter<double>((min+max)/2.0)
, m_min(min) , m_min(min)
, m_max(max) , m_max(max)
{ {
......
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