-
-
Notifications
You must be signed in to change notification settings - Fork 891
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor Progress class and improve type safety
This refactor cleans up the Progress class and enhances type safety. It replaces raw C-style arrays with std::array, which guarantees type safety and prevents out-of-bound access. The type of several variables and methods has also been changed from int and float to size_t and double to increase precision.
- Loading branch information
1 parent
138d6cd
commit eeb93cf
Showing
2 changed files
with
33 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters