NiaOrg/NiaPy-examples

Possible bug

Closed this issue · 1 comments

This line would always return values in range [40, 50], right?

return int(val * 10 + 40)

I would say it is return int(val * 40 + 10)

Hi @fglojnari!

Thank you for reporting the issue. Of course, the right definition is as you mentioned return int(val * 40 + 10). The issue has been already resolved in PR #10