Fixed typedef Type error
This commit is contained in:
parent
152d42d41e
commit
df56ae5145
2 changed files with 64 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Reference in a new issue