Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
looks like a bug (doesn't fix the tests, though)
authordegomme <augustin.degomme@unibas.ch>
Sun, 31 Jan 2016 00:51:11 +0000 (01:51 +0100)
committerdegomme <augustin.degomme@unibas.ch>
Sun, 31 Jan 2016 00:52:30 +0000 (01:52 +0100)
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;