summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/Core/regularisers_CPU/TNV_core.c4
-rwxr-xr-xsrc/Core/regularisers_CPU/TNV_core_backtrack.c4
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;
}