Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Continuing work on datatypes
[simgrid.git] / src / smpi / colls / bcast-scatter-LR-allgather.cpp
index 96ed610fd36d78b6d5fcc84076e4d580d7d01fc2..9dae6f126305205dfc56530cc6238bbd383925d3 100644 (file)
@@ -81,7 +81,7 @@ smpi_coll_tuned_bcast_scatter_LR_allgather(void *buff, int count,
 
   rank = comm->rank();
   num_procs = comm->size();
-  extent = smpi_datatype_get_extent(data_type);
+  extent = data_type->get_extent();
 
 
   nbytes = extent * count;