1
1

Merge pull request #1746 from jjhursey/topic/op-init

ompi/op: Provide a default value for type/flags
Этот коммит содержится в:
Josh Hursey 2016-06-03 07:56:29 -05:00
родитель 45fbfa2b4d a776d78f2d
Коммит 9f9f70ee50

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

@ -443,6 +443,10 @@ static void ompi_op_construct(ompi_op_t *new_op)
{
int i;
/* Provide a default of a high value. Useful for non-predefined ops. */
new_op->op_type = OMPI_OP_NUM_OF_TYPES;
new_op->o_flags = 0;
/* assign entry in fortran <-> c translation array */
new_op->o_f_to_c_index =