Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge remote-tracking branch 'origin/master'
[simgrid.git] / examples / smpi / MM / 2.5D_MM.c
index b46902b..eb61096 100644 (file)
@@ -17,7 +17,8 @@ double two_dot_five(
                     size_t m, size_t k, size_t n,
                     size_t Block_size, size_t group, size_t key,
                     size_t size_row, size_t size_col, size_t NB_groups ){
                     size_t m, size_t k, size_t n,
                     size_t Block_size, size_t group, size_t key,
                     size_t size_row, size_t size_col, size_t NB_groups ){
-  double *a,  *b,  *c, *res;
+  double *a,  *b,  *c;
+  double *res = NULL;
   /* Split the communicator into groups */
 
   /* Find out my identity in the default communicator */
   /* Split the communicator into groups */
 
   /* Find out my identity in the default communicator */