diff options
author | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2018-07-12 13:53:57 -0400 |
---|---|---|
committer | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2018-07-12 13:53:57 -0400 |
commit | b85fefe6b6ac4a2e6599e83eef2bb567ebbef41e (patch) | |
tree | 1dab9ddd9bd7ba7991a17fcdce48c9a7d9f10aef | |
parent | 4b8e85fe2b62a7bdea89031611ee09db7af03861 (diff) | |
download | c++-b85fefe6b6ac4a2e6599e83eef2bb567ebbef41e.tar.gz c++-b85fefe6b6ac4a2e6599e83eef2bb567ebbef41e.tar.bz2 c++-b85fefe6b6ac4a2e6599e83eef2bb567ebbef41e.zip |
fixed error message printing
-rw-r--r-- | src/analyze_correlations.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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; |