From 7a5832849932da1b3f261180500706c9ab44010e Mon Sep 17 00:00:00 2001 From: Christian Heinrich Date: Fri, 12 Feb 2016 13:46:05 +0100 Subject: [PATCH] [SMPI] Code beautification. --- src/smpi/smpi_global.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/smpi/smpi_global.cpp b/src/smpi/smpi_global.cpp index e703a0f809..9feadcde8e 100644 --- a/src/smpi/smpi_global.cpp +++ b/src/smpi/smpi_global.cpp @@ -99,16 +99,16 @@ void smpi_process_init(int *argc, char ***argv) MPI_Comm* temp_comm_world; xbt_bar_t temp_bar; smpi_deployment_register_process(instance_id, rank, index, &temp_comm_world ,&temp_bar); - data = smpi_process_remote_data(index); - data->comm_world = temp_comm_world; + data = smpi_process_remote_data(index); + data->comm_world = temp_comm_world; if(temp_bar != NULL) data->finalization_barrier = temp_bar; - data->index = index; + data->index = index; data->instance_id = instance_id; - data->replaying = 0; + data->replaying = 0; //xbt_free(simcall_process_get_data(proc)); simdata_process_t simdata = static_cast(simcall_process_get_data(proc)); - simdata->data = data; + simdata->data = data; if (*argc > 3) { free((*argv)[1]); -- 2.20.1