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.
2 parents fe8154b + 2347ac5 commit 095981cCopy full SHA for 095981c
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