From b85fefe6b6ac4a2e6599e83eef2bb567ebbef41e Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Thu, 12 Jul 2018 13:53:57 -0400 Subject: fixed error message printing --- src/analyze_correlations.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/analyze_correlations.cpp b/src/analyze_correlations.cpp index 57f657d..c429c1b 100644 --- a/src/analyze_correlations.cpp +++ b/src/analyze_correlations.cpp @@ -165,7 +165,7 @@ int main (int argc, char *argv[]) { } if (N < drop) { - printf("%lu: Number of steps %lu is less than %" PRIcount ", nothing done.\n", id, N, drop); + printf("\033[F%lu: Number of steps %lu is less than %" PRIcount ", nothing done.\n", id, N, drop); break; } else { int M = N - drop; @@ -257,7 +257,7 @@ int main (int argc, char *argv[]) { } if (N < drop) { - printf("%lu: Number of steps %lu is less than %" PRIcount ", nothing done.\n", id, N, drop); + printf("\033[F%lu: Number of steps %lu is less than %" PRIcount ", nothing done.\n", id, N, drop); } else { int M = N - drop; double M_f = (double)M; -- cgit v1.2.3-70-g09d2