Skip to content

Commit

Permalink
Fix how AZNumber is assigned to reps in simulation
Browse files Browse the repository at this point in the history
  • Loading branch information
amitkgupta committed Jul 27, 2014
1 parent 97fd362 commit 8e9ec8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion simulation/simulation_suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ func buildInProcessReps() (auctiontypes.SimulationRepPoolClient, []string) {

repDelegate := simulationrepdelegate.New(
repResources,
int(math.Mod(float64(numReps), float64(numAZs))),
int(math.Mod(float64(i), float64(numAZs))),
)
repMap[repGuid] = auctionrep.New(repGuid, repDelegate)
}
Expand Down

0 comments on commit 8e9ec8d

Please sign in to comment.