From f59a2ea520ba9fb453582b9a4246f3f8e5257474 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Sun, 29 Mar 2020 23:31:17 +0200 Subject: Remove verification output --- src/Core/regularisers_CPU/TNV_core.c | 4 ++-- src/Core/regularisers_CPU/TNV_core_backtrack.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Core/regularisers_CPU/TNV_core.c b/src/Core/regularisers_CPU/TNV_core.c index 7b8023b..21f228d 100755 --- a/src/Core/regularisers_CPU/TNV_core.c +++ b/src/Core/regularisers_CPU/TNV_core.c @@ -617,7 +617,7 @@ float TNV_CPU_main(float *InputT, float *uT, float lambda, int maxIter, float to float b = (2.0f * tau * sigma * product) / (gamma * sigma * unorm + gamma * tau * qnorm); float dual_dot_delta = resdual * s * delta; float dual_div_delta = (resdual * s) / delta; - printf("resprimal: %f, resdual: %f, b: %f (product: %f, unorm: %f, qnorm: %f)\n", resprimal, resdual, b, product, unorm, qnorm); +// printf("resprimal: %f, resdual: %f, b: %f (product: %f, unorm: %f, qnorm: %f)\n", resprimal, resdual, b, product, unorm, qnorm); if(b > 1) { @@ -658,7 +658,7 @@ float TNV_CPU_main(float *InputT, float *uT, float lambda, int maxIter, float to printf("Iterations stopped at %i with the residual %f \n", iter, residual); - printf("Return: %f\n", *uT); +// printf("Return: %f\n", *uT); return *uT; } diff --git a/src/Core/regularisers_CPU/TNV_core_backtrack.c b/src/Core/regularisers_CPU/TNV_core_backtrack.c index 7eb367e..f166f5b 100755 --- a/src/Core/regularisers_CPU/TNV_core_backtrack.c +++ b/src/Core/regularisers_CPU/TNV_core_backtrack.c @@ -636,7 +636,7 @@ float TNV_CPU_main(float *InputT, float *uT, float lambda, int maxIter, float to float b = (2.0f * tau * sigma * product) / (gamma * sigma * unorm + gamma * tau * qnorm); float dual_dot_delta = resdual * s * delta; float dual_div_delta = (resdual * s) / delta; - printf("resprimal: %f, resdual: %f, b: %f (product: %f, unorm: %f, qnorm: %f)\n", resprimal, resdual, b, product, unorm, qnorm); +// printf("resprimal: %f, resdual: %f, b: %f (product: %f, unorm: %f, qnorm: %f)\n", resprimal, resdual, b, product, unorm, qnorm); if(b > 1) { @@ -675,7 +675,7 @@ float TNV_CPU_main(float *InputT, float *uT, float lambda, int maxIter, float to printf("Iterations stopped at %i with the residual %f \n", iter, residual); - printf("Return: %f\n", *uT); +// printf("Return: %f\n", *uT); return *uT; } -- cgit v1.2.1