From 1faff85136274d1af4ee74c0d559e6d3a1843fca Mon Sep 17 00:00:00 2001 From: Alonso Silva Date: Thu, 22 Jan 2026 15:23:27 +0100 Subject: [PATCH] Fix discrepancy in MEC --- code/data_gen.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/data_gen.cpp b/code/data_gen.cpp index 0d00122..a39b5a0 100644 --- a/code/data_gen.cpp +++ b/code/data_gen.cpp @@ -386,8 +386,8 @@ namespace node_relations{ if (i != j) { int new_x = order_list[i], new_y = order_list[j]; for (int k = 0; k < 7; k++) { - if ((graph_2.pair_relations[new_x][new_y]>>k)&1) - graph_1.pair_relation_count[i][j][k]++; + if ((graph_2.pair_relations[i][j]>>k)&1) + graph_1.pair_relation_count[new_x][new_y][k]++; } } }