Skip to content

Commit f704e6c

Browse files
committed
Avoid warning for call overloading
1 parent cc445b0 commit f704e6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Polynomials.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ end
356356
polyval(p::Poly, v::AbstractVector) = map(x->polyval(p, x), v)
357357

358358
if VERSION >= v"0.4"
359-
call(p::Poly, x) = polyval(p, x)
359+
@compat (p::Poly)(x) = polyval(p, x)
360360
end
361361

362362
"""

0 commit comments

Comments
 (0)