more logging commented out

This commit is contained in:
dimxy
2019-05-08 16:00:28 +05:00
parent 8bfb3ad456
commit b25371ef01

View File

@@ -1103,7 +1103,7 @@ int64_t prices_syntheticprice(std::vector<uint16_t> vec, int32_t height, int32_t
break; break;
} }
std::cerr << "prices_syntheticprice test mpzResult=" << mpz_get_si(mpzResult) << std::endl; // std::cerr << "prices_syntheticprice test mpzResult=" << mpz_get_si(mpzResult) << std::endl;
// check overflow: // check overflow:
if (mpz_cmp_si(mpzResult, std::numeric_limits<int64_t>::max()) > 0) { if (mpz_cmp_si(mpzResult, std::numeric_limits<int64_t>::max()) > 0) {
errcode = -13; errcode = -13;
@@ -1155,7 +1155,7 @@ int64_t prices_syntheticprice(std::vector<uint16_t> vec, int32_t height, int32_t
std::cerr << "prices_syntheticprice err=" << errcode << std::endl; std::cerr << "prices_syntheticprice err=" << errcode << std::endl;
return(errcode); return(errcode);
} }
//std::cerr << "prices_syntheticprice priceIndex=" << priceIndex << " den=" << den << std::endl; // std::cerr << "prices_syntheticprice priceIndex=totalprice/den=" << priceIndex << " den=" << den << std::endl;
return priceIndex; return priceIndex;
} }