File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -72,13 +72,13 @@ namespace Comm {
72
72
73
73
/* Predefined ops*/
74
74
using op_t = MPI_Op;
75
- static constexpr op_t Max = MPI_MAX;
76
- static constexpr op_t Min = MPI_MIN;
77
- static constexpr op_t Sum = MPI_SUM;
78
- static constexpr op_t Prod = MPI_PROD;
79
- static constexpr op_t And = MPI_LAND;
80
- static constexpr op_t Or = MPI_LOR;
81
- static constexpr op_t Xor = MPI_LXOR;
75
+ inline static const op_t Max = MPI_MAX;
76
+ inline static const op_t Min = MPI_MIN;
77
+ inline static const op_t Sum = MPI_SUM;
78
+ inline static const op_t Prod = MPI_PROD;
79
+ inline static const op_t And = MPI_LAND;
80
+ inline static const op_t Or = MPI_LOR;
81
+ inline static const op_t Xor = MPI_LXOR;
82
82
83
83
/* MPI_Init and MPI_Finalize*/
84
84
void Init (int &argc, char ** &argv);
You can’t perform that action at this time.
0 commit comments