Skip to content

Commit 3f4fddc

Browse files
authored
Merge pull request #54 from eschnett/eschnett/call
Avoid warning for call overloading
2 parents cc445b0 + f704e6c commit 3f4fddc

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)