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 ea9f108 commit 2347ac5Copy full SHA for 2347ac5
modules/bgsegm/src/bgfg_gsoc.cpp
@@ -70,7 +70,7 @@ const float LSBPtau = 0.05f;
70
inline int LSBPDist32(unsigned n) {
71
#if defined(__GNUC__) || defined(__clang__)
72
return __builtin_popcount(n);
73
-#elif defined(_MSC_VER) && !(defined(_M_ARM) || defined(_M_ARM64))
+#elif defined(_MSC_VER)
74
return __popcnt(n);
75
#else
76
// Taken from http://graphics.stanford.edu/~seander/bithacks.html#CountBitsSetParallel
0 commit comments