fix a minor bug

This commit is contained in:
2023-10-02 18:06:19 +08:00
parent c2091d7cbf
commit b0c7ab0269

View File

@ -506,7 +506,7 @@ std::pair<int, int> SimpleGuess() {
} else if ((double)(total_known) / (rows * columns) > } else if ((double)(total_known) / (rows * columns) >
guess_begin_consideration_ratio && guess_begin_consideration_ratio &&
allow_a_guess) { allow_a_guess) {
if (exp(-(this_prob - current_prob) * guess_tightness_parameter) < if (exp(-(this_prob - current_prob) * guess_tightness_parameter) >
RawRnd() / RawRnd_max) { RawRnd() / RawRnd_max) {
best_guess.first = i; best_guess.first = i;
best_guess.second = j; best_guess.second = j;