From 55af5a746ab324bb925c6c599efea4e78dacec61 Mon Sep 17 00:00:00 2001 From: Alan O'Callaghan Date: Wed, 6 Mar 2024 14:14:36 +0000 Subject: [PATCH] Remove Rprintf statement entirely --- src/densvis.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/densvis.cpp b/src/densvis.cpp index 183ac74..14bb6f6 100644 --- a/src/densvis.cpp +++ b/src/densvis.cpp @@ -27,10 +27,6 @@ Rcpp::NumericMatrix densne_cpp( size_t N = X.ncol(), D = X.nrow(); double * data=X.begin(); - - if (verbose) { - Rprintf("Read the %i x %llu data matrix successfully!\n", N, D); - } std::vector Y(N * no_dims), costs(N), itercosts(static_cast(std::ceil(max_iter/50.0))); @@ -39,7 +35,7 @@ Rcpp::NumericMatrix densne_cpp( for (size_t i = 0; i < Y.size(); i++) Y[i] = Y_in[i]; if (verbose) Rprintf("Using user supplied starting positions\n"); } - + double* dens = NULL; if (final_dens) { dens = (double*) malloc(N * 2 * sizeof(double));