bugfix: invalidate the individual after having repaired it

This commit is contained in:
nojhan 2011-11-09 10:35:41 +01:00
commit 96dc505f92
2 changed files with 4 additions and 0 deletions

View file

@ -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:

View file

@ -166,6 +166,8 @@ public:
} // for j
} // context for k
} // for ipair
sol.invalidate();
}
};