Fix fuzzer

This commit is contained in:
momo5502
2025-05-28 19:45:08 +02:00
parent 1e0decb63d
commit ae77e1b62d
5 changed files with 40 additions and 16 deletions

View File

@@ -71,6 +71,11 @@ namespace fuzzer
{
std::unique_lock lock{this->mutex_};
if (this->top_scorer_.empty())
{
return 0.0;
}
double score{0.0};
for (const auto& e : this->top_scorer_)
{