Rework MAX macro to use < operator

MAX now works with Fraction's
This commit is contained in:
2024-07-26 03:12:50 +01:00
parent 7f7a609d30
commit 84c07870e4

View File

@@ -24,7 +24,7 @@
#include <vector>
#define MIN(A, B) ((A) < (B) ? (A) : (B))
#define MAX(A, B) ((A) > (B) ? (A) : (B))
#define MAX(A, B) ((B) < (A) ? (A) : (B))
typedef uint64_t word_t;
struct Fraction