X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/43279359aacb5495bcd60cc17a0f2b4c00cfd034..86f9a6c7bece8591b61752ee74a005e14fe3af50:/src/smpi/smpi_op.cpp diff --git a/src/smpi/smpi_op.cpp b/src/smpi/smpi_op.cpp index 8251f94263..22ac499b53 100644 --- a/src/smpi/smpi_op.cpp +++ b/src/smpi/smpi_op.cpp @@ -234,10 +234,10 @@ void Op::apply(void *invec, void *inoutvec, int *len, MPI_Datatype datatype) { if(smpi_privatize_global_variables){//we need to switch as the called function may silently touch global variables XBT_DEBUG("Applying operation, switch to the right data frame "); - smpi_switch_data_segment(smpi_process_index()); + smpi_switch_data_segment(smpi_process()->index()); } - if(!smpi_process_get_replaying()){ + if(!smpi_process()->replaying()){ if(! is_fortran_op_) this->func_(invec, inoutvec, len, &datatype); else{