Skip to content

Commit

Permalink
not so verbose
Browse files Browse the repository at this point in the history
  • Loading branch information
MikaelSlevinsky committed May 9, 2022
1 parent 8f72dc9 commit a18caed
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/transforms.c
Original file line number Diff line number Diff line change
Expand Up @@ -360,11 +360,11 @@ ft_modified_plan * ft_plan_modified_jacobi_to_jacobi(const int n, const double a
ft_destroy_banded(V);
//if (nv*nrm_Vn <= eps()*nrm_Vb) break;
if (nv*nrm_Vn <= eps()*nrm_Vb) {
verbose && printf("N = %i, and the bound on the relative 2-norm: %17.16e ≤ %17.16e\n", N, nv*nrm_Vn, eps()*nrm_Vb);
verbose && printf("N = %i, and the bound on the relative 2-norm: %4.3e ≤ %4.3e\n", N, nv*nrm_Vn, eps()*nrm_Vb);
break;
}
else {
verbose && printf("N = %i, and the bound on the relative 2-norm: %17.16e ≰ %17.16e\n", N, nv*nrm_Vn, eps()*nrm_Vb);
verbose && printf("N = %i, and the bound on the relative 2-norm: %4.3e ≰ %4.3e\n", N, nv*nrm_Vn, eps()*nrm_Vb);
}
ft_destroy_banded_ql(F);
N <<= 1;
Expand Down Expand Up @@ -464,11 +464,11 @@ ft_modified_plan * ft_plan_modified_laguerre_to_laguerre(const int n, const doub
ft_destroy_banded(V);
//if (nv*nrm_Vn <= eps()*nrm_Vb) break;
if (nv*nrm_Vn <= eps()*nrm_Vb) {
verbose && printf("N = %i, and the bound on the relative 2-norm: %17.16e ≤ %17.16e\n", N, nv*nrm_Vn, eps()*nrm_Vb);
verbose && printf("N = %i, and the bound on the relative 2-norm: %4.3e ≤ %4.3e\n", N, nv*nrm_Vn, eps()*nrm_Vb);
break;
}
else {
verbose && printf("N = %i, and the bound on the relative 2-norm: %17.16e ≰ %17.16e\n", N, nv*nrm_Vn, eps()*nrm_Vb);
verbose && printf("N = %i, and the bound on the relative 2-norm: %4.3e ≰ %4.3e\n", N, nv*nrm_Vn, eps()*nrm_Vb);
}
ft_destroy_banded_ql(F);
N <<= 1;
Expand Down Expand Up @@ -568,11 +568,11 @@ ft_modified_plan * ft_plan_modified_hermite_to_hermite(const int n, const int nu
ft_destroy_banded(V);
//if (nv*nrm_Vn <= eps()*nrm_Vb) break;
if (nv*nrm_Vn <= eps()*nrm_Vb) {
verbose && printf("N = %i, and the bound on the relative 2-norm: %17.16e ≤ %17.16e\n", N, nv*nrm_Vn, eps()*nrm_Vb);
verbose && printf("N = %i, and the bound on the relative 2-norm: %4.3e ≤ %4.3e\n", N, nv*nrm_Vn, eps()*nrm_Vb);
break;
}
else {
verbose && printf("N = %i, and the bound on the relative 2-norm: %17.16e ≰ %17.16e\n", N, nv*nrm_Vn, eps()*nrm_Vb);
verbose && printf("N = %i, and the bound on the relative 2-norm: %4.3e ≰ %4.3e\n", N, nv*nrm_Vn, eps()*nrm_Vb);
}
ft_destroy_banded_ql(F);
N <<= 1;
Expand Down

0 comments on commit a18caed

Please sign in to comment.