Skip to content

Commit 9f4b397

Browse files
committed
Update
1 parent 8530062 commit 9f4b397

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/LightGBM/meta.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ typedef void (*AllgatherFunction)(char* input, comm_size_t input_size,
8383

8484
const int kAlignedSize = 32;
8585

86-
#define SIZE_ALIGNED(t) ((t) + kAlignedSize - 1) / kAlignedSize* kAlignedSize
86+
#define SIZE_ALIGNED(t) (((t) + kAlignedSize - 1) / kAlignedSize) * kAlignedSize
8787

8888
// Refer to
8989
// https://docs.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warning-level-4-c4127?view=vs-2019

0 commit comments

Comments
 (0)