Commit 8bd8716a authored by Gauthier Quesnel's avatar Gauthier Quesnel
Browse files

optimizer: update crossover operator

parent b109d832
......@@ -338,7 +338,7 @@ public:
const auto x1 = first.block(i);
const auto x2 = second.block(i);
x.set_block(i, ((x1 ^ x2) & dist(rng)) | x1);
x.set_block(i, ((x1 ^ x2) & dist(rng)) ^ x1);
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment