changed pairs output line
authorAnatoly <Titov_AI@pnpi.nrcki.ru>
Mon, 21 Jan 2019 12:34:18 +0000 (15:34 +0300)
committerAnatoly <Titov_AI@pnpi.nrcki.ru>
Mon, 21 Jan 2019 12:34:18 +0000 (15:34 +0300)
src/spacetimecorr.cpp

index f09af7d93b09729543c21aa5ca79962a2b29aea2..99b0cf3cb0beb39b443d308618518bfb0f73f927 100644 (file)
@@ -83,7 +83,8 @@ void make_correlation_pairs_file(std::vector< std::vector< std::vector< float >
     file = std::fopen(file_name, "w+");
     for (int i = 0; i < correlations.front().size(); i++) {
         for (int j = 0; j < correlations.front().front().size(); j++) {
-            std::fprintf(file, "correlation between point '%d' and point '%d'\n", i, j);
+            //std::fprintf(file, "correlation between point '%d' and point '%d'\n", i, j);
+            std::fprintf(file, "%d %d\n", i, j);
             for (int k = 0; k < correlations.size(); k++) {
                 std::fprintf(file, "%3.4f ", correlations[k][i][j]);
             }