forgot to invalidate
This commit is contained in:
parent
0eee2ff13d
commit
be8873be4f
1 changed files with 1 additions and 0 deletions
|
|
@ -67,6 +67,7 @@ class eoCMABreed : public eoBreed< eoVector<FitT, double> > {
|
|||
|
||||
for (unsigned i = 0; i < lambda; ++i) {
|
||||
state.sample( static_cast< std::vector<double>& >( offspring[i] ));
|
||||
offspring[i].invalidate();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue