diff options
author | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2022-10-19 17:27:59 +0200 |
---|---|---|
committer | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2022-10-19 17:27:59 +0200 |
commit | e4d86723227dc3694bf502dfd492e8c2b1887c2c (patch) | |
tree | fa114525f8a24caad2425c3753c440e7520085e4 /aztec.hpp | |
parent | 6308773c0b6b745d49d20dc2afd6ab7ec63cb996 (diff) | |
download | code-e4d86723227dc3694bf502dfd492e8c2b1887c2c.tar.gz code-e4d86723227dc3694bf502dfd492e8c2b1887c2c.tar.bz2 code-e4d86723227dc3694bf502dfd492e8c2b1887c2c.zip |
Diffstat (limited to 'aztec.hpp')
-rw-r--r-- | aztec.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,8 +1,8 @@ -#include <vector> #include <stack> +#include <vector> -#include "randutils/randutils.hpp" #include "pcg-cpp/include/pcg_random.hpp" +#include "randutils/randutils.hpp" #include "blossom5-v2.05.src/PerfectMatching.h" @@ -102,7 +102,7 @@ public: Real logPartitionFunction = 0; for (unsigned i = 1; i <= n; i++) { -#pragma omp parallel for reduction(+:logPartitionFunction) +#pragma omp parallel for reduction(+ : logPartitionFunction) for (unsigned j = 0; j < pow(i, 2); j++) { auto [e1, e2, e3, e4] = face(i, j); |