Skip to content

Fix logic bug in Dutch cost function - #14

Open
pieterjongsma wants to merge 1 commit into
ozfortress:masterfrom
pieterjongsma:bugfix-dutch-cost-function
Open

Fix logic bug in Dutch cost function#14
pieterjongsma wants to merge 1 commit into
ozfortress:masterfrom
pieterjongsma:bugfix-dutch-cost-function

Conversation

@pieterjongsma

Copy link
Copy Markdown

Without this fix, the code seems to be interpreted as

state.scores[home_team] OR 0 - state.scores[away_team] or 0

instead of the intended

state.scores[home_team] || 0 OR state.scores[away_team] || 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant