Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
looks like a bug (doesn't fix the tests, though)
[simgrid.git] / src / mc / mc_compare.cpp
index 1404e61..daf84c8 100644 (file)
@@ -469,7 +469,7 @@ int snapshot_compare(void *state1, void *state2)
   mc_snapshot_stack_t stack1, stack2;
   while (cursor < s1->stacks.size()) {
     stack1 = &s1->stacks[cursor];
-    stack2 = &s1->stacks[cursor];
+    stack2 = &s2->stacks[cursor];
 
     if (stack1->process_index != stack2->process_index) {
       diff_local = 1;