From 8a06cf91fbb02684059bb69f229acaa7f9c501b3 Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Thu, 12 Jul 2018 10:49:43 -0400 Subject: fixed bug that read same line over and over --- src/analyze_correlations.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/analyze_correlations.cpp b/src/analyze_correlations.cpp index 2703f6f..0ebd5dd 100644 --- a/src/analyze_correlations.cpp +++ b/src/analyze_correlations.cpp @@ -235,7 +235,7 @@ int main (int argc, char *argv[]) { fwrite(OO_E, sizeof(double), 2 + length, file_E); fclose(file_E); - printf("\033[F\033[J%lu: Correlation functions for %g steps written.\n", id, OO_S[0]); + printf("\033[F%lu: Correlation functions for %g steps written.\n", id, OO_S[0]); free(OO_S); free(OO_E); @@ -313,7 +313,7 @@ int main (int argc, char *argv[]) { free(data_S); free(data_E); - printf("\033[F\033[J%lu: Correlation functions for %g steps written.\n", id, OO_S[0]); + printf("\033[F%lu: Correlation functions for %g steps written.\n", id, OO_S[0]); free(OO_S); free(OO_E); -- cgit v1.2.3-54-g00ecf