From 59edfdb315eb58aa5c90783cdb25802a81ed43f5 Mon Sep 17 00:00:00 2001 From: "Stephan T. Lavavej" Date: Thu, 11 May 2023 16:34:45 -0700 Subject: [PATCH] Fix typo: `_defined` => `defined` (#9153) --- include/xgboost/linalg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/xgboost/linalg.h b/include/xgboost/linalg.h index 65e9de6ba8b4..4ca5b9f7e78c 100644 --- a/include/xgboost/linalg.h +++ b/include/xgboost/linalg.h @@ -150,7 +150,7 @@ inline LINALG_HD int Popc(uint64_t v) { return __popcll(v); #elif defined(__GNUC__) || defined(__clang__) return __builtin_popcountll(v); -#elif defined(_MSC_VER) && _defined(_M_X64) +#elif defined(_MSC_VER) && defined(_M_X64) return __popcnt64(v); #else return NativePopc(v);