1
1

This wasn't the correct way to write the if statement. What I want is

that if one of them is zero then the if will get executed.

This commit was SVN r12560.
Этот коммит содержится в:
George Bosilca 2006-11-12 05:27:27 +00:00
родитель 9933a6f469
Коммит 2ee30fd468

Просмотреть файл

@ -212,7 +212,7 @@ ompi_convertor_get_unpacked_size( const ompi_convertor_t* pConv,
* dependencies (and to speed-up this code) we will not test \
* the convertor->local_size but we can test the 2 components. \
*/ \
if( 0 == (convertor->count | datatype->size) ) { \
if( (0 == convertor->count) || (0 == datatype->size) ) { \
convertor->flags |= CONVERTOR_COMPLETED; \
convertor->remote_size = 0; \
return OMPI_SUCCESS; \