From 00cbabd65a9093df97c5e737c532150157b38976 Mon Sep 17 00:00:00 2001 From: William Blanke Date: Fri, 11 Oct 2024 16:57:11 -0700 Subject: [PATCH] gmp print --- src/prover_slow.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/prover_slow.h b/src/prover_slow.h index 9e735d2..e2a2d71 100644 --- a/src/prover_slow.h +++ b/src/prover_slow.h @@ -26,7 +26,7 @@ uint64_t GetBlock(uint64_t i, uint64_t k, uint64_t T, integer& B) { mpz_mul_2exp(res.impl, res.impl, k); res = res / B; auto res_vector = res.to_vector(); - printf("GB %lld\n",res_vector.empty() ? 0 : res_vector[0]); + gmp_printf("i %lld k %lld T %lld B %Zd GB %lld\n",i,k,T,B.impl,res_vector.empty() ? 0 : res_vector[0]); return res_vector.empty() ? 0 : res_vector[0]; }