diff options
author | 2021-03-14 03:16:02 +0200 | |
---|---|---|
committer | 2021-03-14 03:50:37 +0200 | |
commit | 56f20e30636c16fd14205ba7c29cf8089caa1260 (patch) | |
tree | 24f948294d6a28a5ea47c983e1cade078357b3ef /src/mergesort.c | |
parent | c68444ff76eff88fbfa63a3ddbd6b9ce72337159 (diff) | |
download | algos-ld1-56f20e30636c16fd14205ba7c29cf8089caa1260.tar.gz algos-ld1-56f20e30636c16fd14205ba7c29cf8089caa1260.tar.bz2 algos-ld1-56f20e30636c16fd14205ba7c29cf8089caa1260.zip |
revert higher-than-64-bits support.
Too much hassle to actually pretty-print that crap out.
Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
Diffstat (limited to 'src/mergesort.c')
-rw-r--r-- | src/mergesort.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mergesort.c b/src/mergesort.c index aa05f8e..fb08d29 100644 --- a/src/mergesort.c +++ b/src/mergesort.c @@ -56,7 +56,7 @@ static int merge(struct stream * const dest, struct stream * const A, struct str b = B->get(B, &b_store); while (a || b) { - if (a && (!b || is_less_equal(a_store.val, b_store.val))) { + if (a && (!b || a_store.val <= b_store.val)) { dest->put(dest, a); a = A->get(A, &a_store); } else { |