didn't know hat having too many parenthesis around a test could trigger a warning ...
* heterogeneous systems. We want to use MPI_Type_size() wherever
* possible, and MPI_Pack_size() in other places.
*/
* heterogeneous systems. We want to use MPI_Type_size() wherever
* possible, and MPI_Pack_size() in other places.
*/
+ //if (is_homogeneous) {
type_size=smpi_datatype_size(datatype);
type_size=smpi_datatype_size(datatype);
/* MPIR_Pack_size_impl(1, datatype, &type_size);*/
/* }*/
nbytes = (size_t) (count) * (type_size);
/* MPIR_Pack_size_impl(1, datatype, &type_size);*/
/* }*/
nbytes = (size_t) (count) * (type_size);
- if ((two_level_bcast == 1
+ if (two_level_bcast == 1
#if defined(_MCST_SUPPORT_)
|| comm_ptr->ch.is_mcast_ok
#endif
#if defined(_MCST_SUPPORT_)
|| comm_ptr->ch.is_mcast_ok
#endif
if (!is_contig || !is_homogeneous) {
tmp_buf=(void *)xbt_malloc(nbytes);
if (!is_contig || !is_homogeneous) {
tmp_buf=(void *)xbt_malloc(nbytes);