Commit f562b4fe authored by Charles Bouillaguet's avatar Charles Bouillaguet
Browse files

other solver tweak

parent 05bb068e
......@@ -467,7 +467,7 @@ void oblivious_solve(const struct vector_enumeration_state_t *ves, int l, int v,
for (int i = j + 1; i < l; i++) {
vector swap = A[i][j] & (~A[j][j]);
// conditionnaly swap rows i and j
for (int k = 0; k < v; k++) {
for (int k = j; k < v; k++) {
vector xor = swap & (A[i][k] ^ A[j][k]);
A[i][k] ^= xor;
A[j][k] ^= xor;
......
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