Skip to content

Commit

Permalink
Fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmyt857 committed Oct 14, 2023
1 parent 2ead1b2 commit aa9bc8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sim/core/energy.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ type energyBar struct {
// [10, 15, 20, 30, 60, 85]
energyDecisionThresholds []int

// Slice with len == 110 with each index corresponding to an amount of energy. Looks like this:
// Slice with len == maxEnergy with each index corresponding to an amount of energy. Looks like this:
// [0, 0, 0, 0, 1, 1, 1, 2, 2, 2, 2, 2, 3, 3, ...]
// Increments by 1 at each value of energyDecisionThresholds.
cumulativeEnergyDecisionThresholds []int
Expand Down

0 comments on commit aa9bc8d

Please sign in to comment.