Skip to content

Commit ca0554e

Browse files
committed
Fix merge
1 parent f83ca7d commit ca0554e

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/comparison.jl

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -334,26 +334,15 @@ end
334334
# less than `b`, they are considered sort of equal.
335335
_cmp_coefficient(a, b) = 0
336336

337-
<<<<<<< HEAD
338337
function Base.cmp(t1::AbstractTermLike, t2::AbstractTermLike)
339-
=======
340-
function Base.cmp(
341-
t1::AbstractTermLike,
342-
t2::AbstractTermLike,
343-
)
344-
>>>>>>> e84a75b (Remove unnecessary compare implementations)
345338
Δ = cmp(monomial(t1), monomial(t2))
346339
if iszero(Δ)
347340
return _cmp_coefficient(coefficient(t1), coefficient(t2))
348341
end
349342
return Δ
350343
end
351344

352-
<<<<<<< HEAD
353-
Base.isless(t1::AbstractTermLike, t2::AbstractTermLike) = compare(t1, t2) < 0
354-
=======
355345
Base.isless(t1::AbstractTermLike, t2::AbstractTermLike) = cmp(t1, t2) < 0
356-
>>>>>>> e84a75b (Remove unnecessary compare implementations)
357346

358347
"""
359348
struct ExponentsIterator{M}(

0 commit comments

Comments
 (0)