Commit 245e0644 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Correct wrong address access in the macro of engine_redistribute_savelink_mapper_part()

parent 768937bf
......@@ -735,7 +735,7 @@ struct savelink_mapper_data {
for (int k = 0; k < counts[nodeID * nr_nodes + node]; k++) { \
if (parts[k + offset].gpart != NULL) { \
if (CHECKS) \
if (parts[k].gpart->id_or_neg_offset > 0) \
if (parts[k + offset].gpart->id_or_neg_offset > 0) \
error("Trying to link a partnerless " #TYPE "!"); \
parts[k + offset].gpart->id_or_neg_offset = -count; \
count++; \
......
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