We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lgamma
probably means just renaming lgamma to just be loggamma, but not 100% sure if that will get things write for both Complex and Real values
loggamma
ChainRules.jl/src/rulesets/packages/SpecialFunctions.jl
Line 6 in 296723c
See JuliaMath/SpecialFunctions.jl#156
Here's the noisy warning i see currently (when running tests)
┌ Warning: `lgamma(x::Real)` is deprecated, use `(logabsgamma(x))[1]` instead. │ caller = rrule(::typeof(lgamma), ::Int64) at rule_definition_tools.jl:104 └ @ ChainRules.SpecialFunctionsGlue ~/.julia/packages/ChainRulesCore/ZpveH/src/rule_definition_tools.jl:104 ┌ Warning: `lgamma(x::Real)` is deprecated, use `(logabsgamma(x))[1]` instead. │ caller = #test_scalar#3(::Float64, ::Float64, ::FiniteDifferences.Central{UnitRange{Int64},Array{Float64,1}}, ::Bool, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::typeof(test_scalar), ::typeof(lgamma), ::Int64) at test_util.jl:27 └ @ Main ~/projects/autodiff/dev/ChainRules/test/test_util.jl:27 ┌ Warning: `lgamma(x::Real)` is deprecated, use `(logabsgamma(x))[1]` instead. │ caller = fdm(::FiniteDifferences.Central{UnitRange{Int64},Array{Float64,1}}, ::typeof(lgamma), ::Int64, ::Val{true}) at methods.jl:222 └ @ FiniteDifferences ~/.julia/packages/FiniteDifferences/kgtFk/src/methods.jl:222 ┌ Warning: `lgamma(x::Real)` is deprecated, use `(logabsgamma(x))[1]` instead. │ caller = #20 at methods.jl:263 [inlined] └ @ Core ~/.julia/packages/FiniteDifferences/kgtFk/src/methods.jl:263 ┌ Warning: `lgamma(x::Real)` is deprecated, use `(logabsgamma(x))[1]` instead. │ caller = _mapreduce(::FiniteDifferences.var"#20#22"{typeof(lgamma),Int64,Array{Int64,1},Array{Float64,1},Float64}, ::typeof(Base.add_sum), ::IndexLinear, ::Base.OneTo{Int64}) at methods.jl:263 └ @ Base ~/.julia/packages/FiniteDifferences/kgtFk/src/methods.jl:263 ┌ Warning: `lgamma(x::Real)` is deprecated, use `(logabsgamma(x))[1]` instead. │ caller = #20 at methods.jl:263 [inlined] └ @ Core ~/.julia/packages/FiniteDifferences/kgtFk/src/methods.jl:263 ┌ Warning: `lgamma(x::Real)` is deprecated, use `(logabsgamma(x))[1]` instead. │ caller = #20 at methods.jl:263 [inlined] └ @ Core ~/.julia/packages/FiniteDifferences/kgtFk/src/methods.jl:263 ┌ Warning: `lgamma(x::Real)` is deprecated, use `(logabsgamma(x))[1]` instead. │ caller = _mapreduce(::FiniteDifferences.var"#20#22"{typeof(lgamma),Int64,UnitRange{Int64},Array{Float64,1},Float64}, ::typeof(Base.add_sum), ::IndexLinear, ::Base.OneTo{Int64}) at methods.jl:263 └ @ Base ~/.julia/packages/FiniteDifferences/kgtFk/src/methods.jl:263 ┌ Warning: `lgamma(x::Real)` is deprecated, use `(logabsgamma(x))[1]` instead. │ caller = #20 at methods.jl:263 [inlined] └ @ Core ~/.julia/packages/FiniteDifferences/kgtFk/src/methods.jl:263 ┌ Warning: `lgamma(x::Real)` is deprecated, use `(logabsgamma(x))[1]` instead. │ caller = frule(::typeof(lgamma), ::Int64) at rule_definition_tools.jl:99 └ @ ChainRules.SpecialFunctionsGlue ~/.julia/packages/ChainRulesCore/ZpveH/src/rule_definition_tools.jl:99 ┌ Warning: `lgamma(x::Real)` is deprecated, use `(logabsgamma(x))[1]` instead. │ caller = rrule(::typeof(lgamma), ::Float64) at rule_definition_tools.jl:104 └ @ ChainRules.SpecialFunctionsGlue ~/.julia/packages/ChainRulesCore/ZpveH/src/rule_definition_tools.jl:104 ┌ Warning: `lgamma(x::Real)` is deprecated, use `(logabsgamma(x))[1]` instead. │ caller = #test_scalar#3(::Float64, ::Float64, ::FiniteDifferences.Central{UnitRange{Int64},Array{Float64,1}}, ::Bool, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::typeof(test_scalar), ::typeof(lgamma), ::Float64) at test_util.jl:27 └ @ Main ~/projects/autodiff/dev/ChainRules/test/test_util.jl:27 ┌ Warning: `lgamma(x::Real)` is deprecated, use `(logabsgamma(x))[1]` instead. │ caller = fdm(::FiniteDifferences.Central{UnitRange{Int64},Array{Float64,1}}, ::typeof(lgamma), ::Float64, ::Val{true}) at methods.jl:222 └ @ FiniteDifferences ~/.julia/packages/FiniteDifferences/kgtFk/src/methods.jl:222 ┌ Warning: `lgamma(x::Real)` is deprecated, use `(logabsgamma(x))[1]` instead. │ caller = #20 at methods.jl:263 [inlined] └ @ Core ~/.julia/packages/FiniteDifferences/kgtFk/src/methods.jl:263 ┌ Warning: `lgamma(x::Real)` is deprecated, use `(logabsgamma(x))[1]` instead. │ caller = _mapreduce(::FiniteDifferences.var"#20#22"{typeof(lgamma),Float64,Array{Int64,1},Array{Float64,1},Float64}, ::typeof(Base.add_sum), ::IndexLinear, ::Base.OneTo{Int64}) at methods.jl:263 └ @ Base ~/.julia/packages/FiniteDifferences/kgtFk/src/methods.jl:263 ┌ Warning: `lgamma(x::Real)` is deprecated, use `(logabsgamma(x))[1]` instead. │ caller = #20 at methods.jl:263 [inlined] └ @ Core ~/.julia/packages/FiniteDifferences/kgtFk/src/methods.jl:263 ┌ Warning: `lgamma(x::Real)` is deprecated, use `(logabsgamma(x))[1]` instead. │ caller = _mapreduce(::FiniteDifferences.var"#20#22"{typeof(lgamma),Float64,UnitRange{Int64},Array{Float64,1},Float64}, ::typeof(Base.add_sum), ::IndexLinear, ::Base.OneTo{Int64}) at methods.jl:263 └ @ Base ~/.julia/packages/FiniteDifferences/kgtFk/src/methods.jl:263 ┌ Warning: `lgamma(x::Real)` is deprecated, use `(logabsgamma(x))[1]` instead. │ caller = _mapreduce(::FiniteDifferences.var"#20#22"{typeof(lgamma),Float64,UnitRange{Int64},Array{Float64,1},Float64}, ::typeof(Base.add_sum), ::IndexLinear, ::Base.OneTo{Int64}) at methods.jl:263 └ @ Base ~/.julia/packages/FiniteDifferences/kgtFk/src/methods.jl:263 ┌ Warning: `lgamma(x::Real)` is deprecated, use `(logabsgamma(x))[1]` instead. │ caller = _mapreduce(::FiniteDifferences.var"#20#22"{typeof(lgamma),Float64,UnitRange{Int64},Array{Float64,1},Float64}, ::typeof(Base.add_sum), ::IndexLinear, ::Base.OneTo{Int64}) at methods.jl:263 └ @ Base ~/.julia/packages/FiniteDifferences/kgtFk/src/methods.jl:263 ┌ Warning: `lgamma(x::Real)` is deprecated, use `(logabsgamma(x))[1]` instead. │ caller = frule(::typeof(lgamma), ::Float64) at rule_definition_tools.jl:99 └ @ ChainRules.SpecialFunctionsGlue ~/.julia/packages/ChainRulesCore/ZpveH/src/rule_definition_tools.jl:99 ┌ Warning: `lgamma(x::Number)` is deprecated, use `loggamma(x)` instead. │ caller = rrule(::typeof(lgamma), ::Complex{Float64}) at rule_definition_tools.jl:104 └ @ ChainRules.SpecialFunctionsGlue ~/.julia/packages/ChainRulesCore/ZpveH/src/rule_definition_tools.jl:104 ┌ Warning: `lgamma(x::Number)` is deprecated, use `loggamma(x)` instead. │ caller = #test_scalar#3(::Float64, ::Float64, ::FiniteDifferences.Central{UnitRange{Int64},Array{Float64,1}}, ::Bool, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::typeof(test_scalar), ::typeof(lgamma), ::Complex{Float64}) at test_util.jl:27 └ @ Main ~/projects/autodiff/dev/ChainRules/test/test_util.jl:27 ┌ Warning: `lgamma(x::Number)` is deprecated, use `loggamma(x)` instead. │ caller = #4 at test_util.jl:37 [inlined] └ @ Core ~/projects/autodiff/dev/ChainRules/test/test_util.jl:37 ┌ Warning: `lgamma(x::Number)` is deprecated, use `loggamma(x)` instead. │ caller = #4 at test_util.jl:37 [inlined] └ @ Core ~/projects/autodiff/dev/ChainRules/test/test_util.jl:37 ┌ Warning: `lgamma(x::Number)` is deprecated, use `loggamma(x)` instead. │ caller = #4 at test_util.jl:37 [inlined] └ @ Core ~/projects/autodiff/dev/ChainRules/test/test_util.jl:37 ┌ Warning: `lgamma(x::Number)` is deprecated, use `loggamma(x)` instead. │ caller = #4 at test_util.jl:37 [inlined] └ @ Core ~/projects/autodiff/dev/ChainRules/test/test_util.jl:37 ┌ Warning: `lgamma(x::Number)` is deprecated, use `loggamma(x)` instead. │ caller = #4 at test_util.jl:37 [inlined] └ @ Core ~/projects/autodiff/dev/ChainRules/test/test_util.jl:37 ┌ Warning: `lgamma(x::Number)` is deprecated, use `loggamma(x)` instead. │ caller = #4 at test_util.jl:37 [inlined] └ @ Core ~/projects/autodiff/dev/ChainRules/test/test_util.jl:37 ┌ Warning: `lgamma(x::Number)` is deprecated, use `loggamma(x)` instead. │ caller = #4 at test_util.jl:37 [inlined] └ @ Core ~/projects/autodiff/dev/ChainRules/test/test_util.jl:37 ┌ Warning: `lgamma(x::Number)` is deprecated, use `loggamma(x)` instead. │ caller = #5 at test_util.jl:38 [inlined] └ @ Core ~/projects/autodiff/dev/ChainRules/test/test_util.jl:38 ┌ Warning: `lgamma(x::Number)` is deprecated, use `loggamma(x)` instead. │ caller = #5 at test_util.jl:38 [inlined] └ @ Core ~/projects/autodiff/dev/ChainRules/test/test_util.jl:38 ┌ Warning: `lgamma(x::Number)` is deprecated, use `loggamma(x)` instead. │ caller = #5 at test_util.jl:38 [inlined] └ @ Core ~/projects/autodiff/dev/ChainRules/test/test_util.jl:38 ┌ Warning: `lgamma(x::Number)` is deprecated, use `loggamma(x)` instead. │ caller = #5 at test_util.jl:38 [inlined] └ @ Core ~/projects/autodiff/dev/ChainRules/test/test_util.jl:38 ┌ Warning: `lgamma(x::Number)` is deprecated, use `loggamma(x)` instead. │ caller = #5 at test_util.jl:38 [inlined] └ @ Core ~/projects/autodiff/dev/ChainRules/test/test_util.jl:38 ┌ Warning: `lgamma(x::Number)` is deprecated, use `loggamma(x)` instead. │ caller = #5 at test_util.jl:38 [inlined] └ @ Core ~/projects/autodiff/dev/ChainRules/test/test_util.jl:38 ┌ Warning: `lgamma(x::Number)` is deprecated, use `loggamma(x)` instead. │ caller = #5 at test_util.jl:38 [inlined] └ @ Core ~/projects/autodiff/dev/ChainRules/test/test_util.jl:38 ┌ Warning: `lgamma(x::Number)` is deprecated, use `loggamma(x)` instead. │ caller = frule(::typeof(lgamma), ::Complex{Float64}) at rule_definition_tools.jl:99 └ @ ChainRules.SpecialFunctionsGlue ~/.julia/packages/ChainRulesCore/ZpveH/src/rule_definition_tools.jl:99
The text was updated successfully, but these errors were encountered:
Problem is that we can't specify compat bounds, or easily branch on the version of Require.jl conditional dependencies.
JuliaPackaging/Requires.jl#3
Sorry, something went wrong.
there is nothing to do here AFAICT
Successfully merging a pull request may close this issue.
probably means just renaming
lgamma
to just beloggamma
, but not 100% sure if that will get things write for both Complex and Real valuesChainRules.jl/src/rulesets/packages/SpecialFunctions.jl
Line 6 in 296723c
See JuliaMath/SpecialFunctions.jl#156
Here's the noisy warning i see currently (when running tests)
The text was updated successfully, but these errors were encountered: