Fixed typedef Type error

This commit is contained in:
mac 2000-06-13 09:48:24 +00:00
commit df56ae5145
2 changed files with 64 additions and 1 deletions

View file

@ -27,6 +27,8 @@
#ifndef _eoFixedLength_h
#define _eoFixedLength_h
#include <vector>
/**
\ingroup EvolutionStrategies
@ -39,7 +41,7 @@ class eoFixedLength : public EO<FitT>, public std::vector<GeneType>
{
public :
typedef double Type;
typedef typename GeneType Type;
/// to avoid conflicts between EO::operator< and vector<double>::operator<
bool operator<(const eoFixedLength<FitT, GeneType>& _eo) const