Tests have been included and src code has been updated to avoid compilation warnings
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@937 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
50863ab6b9
commit
acc73239fb
37 changed files with 2531 additions and 47 deletions
|
|
@ -73,9 +73,9 @@ class moItRandNextMove:public moNextMove < M >
|
|||
bool operator () (M & _move, const EOT & _solution)
|
||||
{
|
||||
//code only used to avoid warning because _solution is not used in this function.
|
||||
EOT solution=(EOT)_solution;
|
||||
const EOT solution(_solution);
|
||||
|
||||
if (iteration_number++ > iteration_maximum_number)
|
||||
if (iteration_number > iteration_maximum_number)
|
||||
{
|
||||
iteration_number = 0;
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue