diff --git a/lib/prolongator.in.cpp b/lib/prolongator.in.cpp index ed9a14a350..673bff4106 100644 --- a/lib/prolongator.in.cpp +++ b/lib/prolongator.in.cpp @@ -60,24 +60,6 @@ namespace quda bool to_non_rel = (out.Nspin() == 4) && (out[0].GammaBasis() == QUDA_UKQCD_GAMMA_BASIS); BlockTransposeBackward(v_out, out, to_non_rel); -#if 0 - std::vector v_cmp(out.size()); - for (size_t i = 0; i < out.size(); i++) { - ColorSpinorParam param(out[i]); - param.create = QUDA_NULL_FIELD_CREATE; - v_cmp[i] = ColorSpinorField(param); - } - auto vv_cmp = make_set(v_cmp); - Prolongate(vv_cmp, in, v, fine_to_coarse, spin_map, parity); - - blas::mxpy(out, v_cmp); - auto vn = blas::max(vv_cmp); - printf("prolongator %d->%d = ", coarseColor, fineColor); - for (size_t i = 0; i < vn.size(); i++) { - printf("%4.2e ", vn[i]); - } - printf("\n"); -#endif } else { Prolongate(out, in, v, fine_to_coarse, spin_map, parity); } diff --git a/lib/restrictor.in.cpp b/lib/restrictor.in.cpp index ed8b152d03..d30024b453 100644 --- a/lib/restrictor.in.cpp +++ b/lib/restrictor.in.cpp @@ -59,24 +59,6 @@ namespace quda RestrictMma2(v_out, v_in, V, fine_to_coarse, coarse_to_fine, spin_map, parity, nvecs); BlockTransposeBackward(v_out, out); -#if 0 - std::vector v_cmp(out.size()); - for (size_t i = 0; i < out.size(); i++) { - ColorSpinorParam param(out[i]); - param.create = QUDA_NULL_FIELD_CREATE; - v_cmp[i] = ColorSpinorField(param); - } - auto vv_cmp = make_set(v_cmp); - Restrict(vv_cmp, in, v, fine_to_coarse, coarse_to_fine, spin_map, parity); - - blas::mxpy(out, v_cmp); - auto vn = blas::max(vv_cmp); - printf("restrictor %d->%d = ", fineColor, coarseColor); - for (size_t i = 0; i < vn.size(); i++) { - printf("%4.2e ", vn[i]); - } - printf("\n"); -#endif } else { Restrict(out, in, v, fine_to_coarse, coarse_to_fine, spin_map, parity); }