A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[mc] Bug: MC was reading from the wrong region
[simgrid.git]
/
src
/
mc
/
mc_compare.cpp
diff --git
a/src/mc/mc_compare.cpp
b/src/mc/mc_compare.cpp
index
ada39e6
..
7a6dcf8
100644
(file)
--- a/
src/mc/mc_compare.cpp
+++ b/
src/mc/mc_compare.cpp
@@
-106,7
+106,7
@@
static int compare_areas_with_type(struct mc_compare_state& state,
void* data1 =
mc_snapshot_read_region(real_area1, region1, alloca(type->byte_size), type->byte_size);
void* data2 =
void* data1 =
mc_snapshot_read_region(real_area1, region1, alloca(type->byte_size), type->byte_size);
void* data2 =
- mc_snapshot_read_region(real_area2, region
1
, alloca(type->byte_size), type->byte_size);
+ mc_snapshot_read_region(real_area2, region
2
, alloca(type->byte_size), type->byte_size);
return (memcmp(data1, data2, type->byte_size) != 0);
break;
}
return (memcmp(data1, data2, type->byte_size) != 0);
break;
}