[galib] compilation

Bertrand Mesot bertrand.mesot at epfl.ch
Fri Mar 5 04:20:46 EST 2004


Hello,

I take the opportunity to mention the following thing that somehow 
corrects my previous post.

Actually, moving the whole definitions of the functions allele() and 
allele(unsigned int i) does not seem necessary, just declaring those 
functions is enough.

Thus adding the following lines after "typedef 
GA1DArrayAlleleGenome<float> GARealGenome;" in GARealGenome.h:

float GAAlleleSet<float>::allele() const;
float GAAlleleSet<float>::allele(unsigned int i) const;

should work better than moving the whole definitions into the .h file --it is at least cleaner.



Bertrand






More information about the galib mailing list