mirror of
https://github.com/rad9800/misc
synced 2026-06-08 16:56:08 +00:00
Update entropy.cpp
This commit is contained in:
+2
-1
@@ -72,5 +72,6 @@ int main() {
|
||||
// get optimized out by the compiler
|
||||
for (auto x : e.array)
|
||||
total += x;
|
||||
|
||||
|
||||
return total; // prevent compiler optimizing it out on /O1 /O2
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user