Skip to content

Commit

Permalink
push off warning removal for another day
Browse files Browse the repository at this point in the history
  • Loading branch information
jverzani committed Jun 2, 2022
1 parent bc50559 commit 15e7387
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/common.jl
Original file line number Diff line number Diff line change
Expand Up @@ -896,8 +896,8 @@ end
end

return quote
#Base.@_inline_meta
Base.@inline
Base.@_inline_meta
#Base.@inline
tuple($(exprs...))
end

Expand Down
8 changes: 4 additions & 4 deletions src/polynomials/ImmutablePolynomial.jl
Original file line number Diff line number Diff line change
Expand Up @@ -240,8 +240,8 @@ LinearAlgebra.norm(q::ImmutablePolynomial, p::Real) = _norm(q.coeffs, p)
end

return quote
# $(Expr(:meta, :inline)) # 1.8 deprecation
Base.@inline
$(Expr(:meta, :inline)) # 1.8 deprecation
#Base.@inline
@inbounds return sqrt($expr)
end

Expand All @@ -260,8 +260,8 @@ _norm_p0(x) = iszero(x) ? zero(x) : one(x)
end

return quote
# $(Expr(:meta, :inline)) 1.8 deprecation
Base.@inline
$(Expr(:meta, :inline)) # 1.8 deprecation
#Base.@inline
if p == Inf
return mapreduce(abs, max, a)
elseif p == 1
Expand Down
3 changes: 1 addition & 2 deletions src/polynomials/standard-basis.jl
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,7 @@ end
end

return quote
# Base.@_inline_meta 1.8 deprecation
Base.@inline
Base.@_inline_meta # 1.8 deprecation
tuple($(exprs...))
end

Expand Down

0 comments on commit 15e7387

Please sign in to comment.