summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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) {