From c9f253b3987ee3e5ae88a99ddd2757801026efb2 Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Tue, 27 Mar 2018 17:12:39 -0400 Subject: save N in potts --- src/wolff_potts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit v1.2.3-70-g09d2