Replaced floats by doubles

This commit is contained in:
evomarc 2002-04-19 14:04:25 +00:00
commit 9a56356c33

View file

@ -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;
}; };
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------