From b0c7ab02697e1775895b5145344828a5888d16bc Mon Sep 17 00:00:00 2001 From: ZhuangYumin Date: Mon, 2 Oct 2023 18:06:19 +0800 Subject: [PATCH] fix a minor bug --- src/include/client.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/client.h b/src/include/client.h index fd857da..af1d4e5 100644 --- a/src/include/client.h +++ b/src/include/client.h @@ -506,7 +506,7 @@ std::pair SimpleGuess() { } else if ((double)(total_known) / (rows * columns) > guess_begin_consideration_ratio && allow_a_guess) { - if (exp(-(this_prob - current_prob) * guess_tightness_parameter) < + if (exp(-(this_prob - current_prob) * guess_tightness_parameter) > RawRnd() / RawRnd_max) { best_guess.first = i; best_guess.second = j;