Skip to content

Commit 2e20367

Browse files
committed
try to remove invalidations
1 parent d0cd9d3 commit 2e20367

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/common.jl

Lines changed: 1 addition & 1 deletion
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::Function, p::AbstractPolynomial) = any(pred, values(p))
488+
Base.any(pred, p::AbstractPolynomial) = any(pred, values(p))
489489

490490

491491

src/polynomials/pi_n_polynomial.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ standard basis of degree `n` *or less*, using a vector of length
1313
This type is useful for reducing copies and allocations in some algorithms.
1414
1515
"""
16-
struct PnPolynomial{T,X} <: Polynomials.StandardBasisPolynomial{T, X}
16+
struct PnPolynomial{T,X} <: StandardBasisPolynomial{T, X}
1717
coeffs::Vector{T}
1818
function PnPolynomial{T, X}(coeffs::AbstractVector{T}) where {T, X}
1919
N = length(coeffs) - 1

0 commit comments

Comments
 (0)