Skip to content
Snippets Groups Projects
Commit 9b571893 authored by Gonzalo Menéndez's avatar Gonzalo Menéndez
Browse files

random.rand_int -> rand_int

parent 189cfa0b
No related branches found
No related tags found
No related merge requests found
......@@ -945,7 +945,7 @@ skeleton newGA
}
if (rand01()<=probability[1])
{
int selector = random.rand_int(0, 1);
int selector = rand_int(0, 1);
if (selector == 0)
{
if ((j-2 >= 0) && (sol.var(i, j - 2) == 0))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment