Skip to content

Commit c9d344c

Browse files
authored
fix invalidations (#412)
1 parent 421fc51 commit c9d344c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ Base.all(pred, p::AbstractPolynomial) = all(pred, values(p))
485485
486486
Test whether any coefficient of an `AbstractPolynomial` satisfies predicate `pred`.
487487
"""
488-
Base.any(pred, p::AbstractPolynomial) = any(pred, values(p))
488+
Base.any(pred::Function, p::AbstractPolynomial) = any(pred, values(p))
489489

490490

491491

0 commit comments

Comments
 (0)