We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8530062 commit 9f4b397Copy full SHA for 9f4b397
include/LightGBM/meta.h
@@ -83,7 +83,7 @@ typedef void (*AllgatherFunction)(char* input, comm_size_t input_size,
83
84
const int kAlignedSize = 32;
85
86
-#define SIZE_ALIGNED(t) ((t) + kAlignedSize - 1) / kAlignedSize* kAlignedSize
+#define SIZE_ALIGNED(t) (((t) + kAlignedSize - 1) / kAlignedSize) * kAlignedSize
87
88
// Refer to
89
// https://docs.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warning-level-4-c4127?view=vs-2019
0 commit comments