Skip to content

Commit

Permalink
Update src/Swarm/Game/Step.hs
Browse files Browse the repository at this point in the history
Co-authored-by: Brent Yorgey <[email protected]>
  • Loading branch information
kostmo and byorgey authored Sep 5, 2023
1 parent 5efb11c commit 9b69d2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Swarm/Game/Step.hs
Original file line number Diff line number Diff line change
Expand Up @@ -1007,7 +1007,7 @@ execConst c vs s k = do

-- Increment command count regardless of success
when (isTangible c) $
activityCounts . tangibleCommandCount %= (+ 1)
activityCounts . tangibleCommandCount += 1

activityCounts . commandsHistogram %= M.insertWith (+) c 1

Expand Down

0 comments on commit 9b69d2c

Please sign in to comment.