summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJaron Kent-Dobias <jaron@kent-dobias.com>2018-03-27 17:12:39 -0400
committerJaron Kent-Dobias <jaron@kent-dobias.com>2018-03-27 17:12:39 -0400
commitc9f253b3987ee3e5ae88a99ddd2757801026efb2 (patch)
tree6d1ef8d74386c263b6dc85a5f2717ab7b3fe52c2 /src
parentde19ce20f49a8e0d117b67823d86733fc652dd6f (diff)
downloadc++-c9f253b3987ee3e5ae88a99ddd2757801026efb2.tar.gz
c++-c9f253b3987ee3e5ae88a99ddd2757801026efb2.tar.bz2
c++-c9f253b3987ee3e5ae88a99ddd2757801026efb2.zip
save N in potts
Diffstat (limited to 'src')
-rw-r--r--src/wolff_potts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wolff_potts.c b/src/wolff_potts.c
index d236595..e209043 100644
--- a/src/wolff_potts.c
+++ b/src/wolff_potts.c
@@ -320,7 +320,7 @@ int main(int argc, char *argv[]) {
FILE *outfile = fopen("out.m", "a");
- fprintf(outfile, "<|D->%" PRID ",L->%" PRIL ",q->%" PRIq ",T->%.15f,J->{", D, L, q, T);
+ fprintf(outfile, "<|N->%" PRIcount ",D->%" PRID ",L->%" PRIL ",q->%" PRIq ",T->%.15f,J->{", N, D, L, q, T);
for (q_t i = 0; i < q; i++) {
fprintf(outfile, "%.15f", J[i]);
if (i != q-1) {