Skip to content

Commit 8116678

Browse files
authored
try to remove invalidations (#421)
* try to remove invalidations * version bump
1 parent d0cd9d3 commit 8116678

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name = "Polynomials"
22
uuid = "f27b6e38-b328-58d1-80ce-0feddd5e7a45"
33
license = "MIT"
44
author = "JuliaMath"
5-
version = "3.1.3"
5+
version = "3.1.4"
66

77
[deps]
88
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"

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)