Skip to content

Commit

Permalink
Fix the INDEXED_BLOCK issue identified by IBM.
Browse files Browse the repository at this point in the history
  • Loading branch information
bosilca committed Apr 30, 2015
1 parent 6a16500 commit 015d3f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ompi/datatype/ompi_datatype_args.c
Expand Up @@ -716,7 +716,7 @@ static ompi_datatype_t* __ompi_datatype_create_from_args( int32_t* i, MPI_Aint*
ompi_datatype_create_indexed_block( i[0], i[1], &(i[2]), d[0], &datatype );
{
const int* a_i[3] = {&i[0], &i[1], &i[2]};
ompi_datatype_set_args( datatype, 2 * i[0], a_i, 0, NULL, 1, d, MPI_COMBINER_INDEXED_BLOCK );
ompi_datatype_set_args( datatype, i[0] + 2, a_i, 0, NULL, 1, d, MPI_COMBINER_INDEXED_BLOCK );
}
break;
/******************************************************************/
Expand Down

0 comments on commit 015d3f5

Please sign in to comment.