Project

Profile

Help

HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. Read more...

Bug #872193

dai_auto_settler_run() stores improvement want as int

Added by Marko Lindqvist 12 months ago. Updated 12 months ago.

Status:
Closed
Priority:
Normal
Category:
AI
Sprint/Milestone:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

dai_auto_settler_run() assigns return value from settler_evaluate_improvements() call to an int, and not to adv_want. This causes low wants (between 0.0 and 1.0) to be considered zero.

This makes a difference in S3_0 and later, where adv_want is a float. In S2_6 it's int, but may as well fix the semantic error in that branch too.

History

#2 Updated by Marko Lindqvist 12 months ago

  • Status changed from Resolved to Closed
  • Assignee set to Marko Lindqvist

Also available in: Atom PDF