Skip to content

Commit 9484a9b

Browse files
committed
equalto -> isequal
1 parent c025fcc commit 9484a9b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

REQUIRE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
julia 0.6
2-
Compat 0.49
2+
Compat 0.61

src/monomial.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ degree(v::AbstractVariable, var::AbstractVariable) = (v == var ? 1 : 0)
7373
#degree(m::AbstractMonomial, v::AbstractVariable) = _deg(v, powers(t)...)
7474

7575
function degree(m::AbstractMonomial, v::AbstractVariable)
76-
i = findfirst(equalto(v), variables(m))
76+
i = findfirst(isequal(v), variables(m))
7777
if i === nothing || iszero(i)
7878
0
7979
else

0 commit comments

Comments
 (0)