bugfix: invalidate the individual after having repaired it
This commit is contained in:
parent
391c9e9e22
commit
96dc505f92
2 changed files with 4 additions and 0 deletions
|
|
@ -58,6 +58,7 @@ public:
|
|||
virtual void operator()( EOT& sol )
|
||||
{
|
||||
std::transform( sol.begin(), sol.end(), sol.begin(), *(this->_function) );
|
||||
sol.invalidate();
|
||||
}
|
||||
};
|
||||
|
||||
|
|
@ -87,6 +88,7 @@ public:
|
|||
for(typename EOT::iterator it = sol.begin(); it != sol.end(); ++it ) {
|
||||
*it = (*(this->_function))( *it, _arg );
|
||||
}
|
||||
sol.invalidate();
|
||||
}
|
||||
|
||||
protected:
|
||||
|
|
|
|||
|
|
@ -166,6 +166,8 @@ public:
|
|||
} // for j
|
||||
} // context for k
|
||||
} // for ipair
|
||||
|
||||
sol.invalidate();
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Reference in a new issue