Skip to content

Commit

Permalink
Vaibhav's Technical Debt #1 solved
Browse files Browse the repository at this point in the history
  • Loading branch information
Vaibhav2399 committed Feb 16, 2024
1 parent f3f9ad2 commit 82d08d5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ public void updateNextTaskDistance() {
Distance distance = trackStatistics.getTotalDistance();

int index = (int) (distance.dividedBy(distanceFrequency));
nextTotalDistance = distanceFrequency.multipliedBy(index + 1);
nextTotalDistance = distanceFrequency.multipliedBy((double) (index + 1));
}

}
Expand Down

0 comments on commit 82d08d5

Please sign in to comment.