diff --git a/mpp/shmemx.h4 b/mpp/shmemx.h4 index 611e5f28..f82729e0 100644 --- a/mpp/shmemx.h4 +++ b/mpp/shmemx.h4 @@ -38,7 +38,7 @@ include(shmemx_c_func.h4)dnl /* SHMEMX constant(s) are included in MAX_HINTS value in shmem-def.h */ #define SHMEMX_MALLOC_NO_BARRIER (1l<<2) -/* C++ overloaded declarations */ +/* C++ overloaded declarations */ #ifdef __cplusplus } /* extern "C" */ diff --git a/src/collectives.c b/src/collectives.c index f1e39b75..081eb9aa 100644 --- a/src/collectives.c +++ b/src/collectives.c @@ -208,8 +208,8 @@ shmem_internal_collectives_init(void) } else { RAISE_WARN_MSG("Ignoring bad reduction algorithm '%s'\n", type); } - } - if (shmem_internal_params.SCAN_ALGORITHM_provided) { + } + if (shmem_internal_params.SCAN_ALGORITHM_provided) { type = shmem_internal_params.SCAN_ALGORITHM; if (0 == strcmp(type, "auto")) { shmem_internal_scan_type = AUTO;