From 8d5c698714bdddb6b728941dc153354e14462af9 Mon Sep 17 00:00:00 2001 From: tpltnt Date: Mon, 15 Aug 2016 09:27:25 +0200 Subject: [PATCH] format string fix --- Linux/LargeVis.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Linux/LargeVis.cpp b/Linux/LargeVis.cpp index 2e2559f..97920fb 100644 --- a/Linux/LargeVis.cpp +++ b/Linux/LargeVis.cpp @@ -347,7 +347,7 @@ void LargeVis::run_propagation() { for (int i = 0; i < n_propagations; ++i) { - printf("Running propagation %d/%d%c", i + 1, n_propagations, 13); + printf("Running propagation %d/%lld%c", i + 1, n_propagations, 13); fflush(stdout); old_knn_vec = knn_vec; knn_vec = new std::vector[n_vertices]; @@ -687,4 +687,4 @@ void LargeVis::run(long long out_d, long long n_thre, long long n_samp, long lon } if (vec) { clean_graph(); construt_knn(); } visualize(); -} \ No newline at end of file +}