Replaced floats by doubles
This commit is contained in:
parent
aa0437dc11
commit
9a56356c33
1 changed files with 2 additions and 2 deletions
|
|
@ -44,7 +44,7 @@ template <class EOT> class eoStochTournamentSelect: public eoSelectOne<EOT>
|
||||||
public:
|
public:
|
||||||
|
|
||||||
///
|
///
|
||||||
eoStochTournamentSelect(float _Trate = 1.0 ) : eoSelectOne<EOT>(), Trate(_Trate)
|
eoStochTournamentSelect(double _Trate = 1.0 ) : eoSelectOne<EOT>(), Trate(_Trate)
|
||||||
{
|
{
|
||||||
// consistency checks
|
// consistency checks
|
||||||
if (Trate < 0.5) {
|
if (Trate < 0.5) {
|
||||||
|
|
@ -64,7 +64,7 @@ template <class EOT> class eoStochTournamentSelect: public eoSelectOne<EOT>
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
float Trate;
|
double Trate;
|
||||||
};
|
};
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
|
||||||
Reference in a new issue