Skip to content

Commit

Permalink
fix: misspell
Browse files Browse the repository at this point in the history
  • Loading branch information
kogetsu7 committed Jan 5, 2025
1 parent 7f02eb2 commit 6c6a89d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions other/choose_min_max.hpp
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#pragma once

/**
* @brief choose minimum
* @brief Choose Minimum
*/
template <class T> bool chmin(T& a, const T& b) {
return (a > b) ? (a = b, true) : false;
}

/**
* @brief choose maximum
* @brief Choose Maximum
*/
template <class T> bool chmax(T& a, const T& b) {
return (a < b) ? (a = b, true) : false;
Expand Down

0 comments on commit 6c6a89d

Please sign in to comment.